Skip to content

Commit

Permalink
docs: explain ‘unknown language’
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed May 19, 2024
1 parent b92d59a commit c433097
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions output/about/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,9 @@ After fetching new proposed community notes, the text of the tweets that the not
dt.textContent = luxon.DateTime.fromISO(dt.textContent).toRelative();
}
</script>

### Why is the language unknown for some tweets?

Until we’ve fetched a tweet, we don’t know its language. So ‘unknown language’ may mean we haven’t yet fetched that tweet. Once we’ve fetched it (in the next hour or so) we should know the tweet author, language and text.

‘Unknown language’ may also mean the tweet has been deleted. In this case, we have no way of determining the tweet author, language or text.
2 changes: 1 addition & 1 deletion output/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Proposed [Twitter community notes](https://twitter.com/i/communitynotes/download
return '~ (put this last)';
}
if (type === 'display') {
return 'Unknown language (deleted)';
return 'Unknown language (see about page)';
}
return data;
}
Expand Down

0 comments on commit c433097

Please sign in to comment.