Open salarua opened 1 year ago
Start a new pull request in StackBlitz Codeflow.
I finally looked and I saw that the languages for the post language selector are simply imported from somewhere else. This may be an upstream issue.
Yes, the languages in the post language selector came from npm library named iso-639-1
(ref. https://github.com/shuuji3/elk/blob/8c881f4d904b9e9eddd8359005d1388820fc9701/composables/langugage.ts).
Maybe because some languages are not included 639-1: https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes
Mastodon is hardcoding some of the languages from ISO-639-3: https://github.com/mastodon/mastodon/blob/e675c10d1926fcc8801813cfdb5be5bd58392c2d/app/helpers/languages_helper.rb#L191-L207.
Also from ISO 639-3:
Several languages supported by Mastodon-FE are missing from Elk.
The specific languages missing are: