I tried fra and it didn't work for french but fr did work?
Conversation
Notices
-
Fedi.Tips 🎄 (feditips@mstdn.social)'s status on Sunday, 24-Sep-2023 04:04:25 JST Fedi.Tips 🎄 -
GunChleoc (gunchleoc@mastodon.scot)'s status on Sunday, 24-Sep-2023 04:10:10 JST GunChleoc @feditips @ButterflyOfFire Mastodon does not define alternative codes, so 3-letter codes are only available for languages that don't have a 3-letter code.
The code lists are in https://github.com/mastodon/mastodon/blob/main/app/helpers/languages_helper.rb
The codes listed in ISO_639_1, ISO_639_3 and ISO_639_1_REGIONAL are available as posting languages, the codes listed in REGIONAL_LOCALE_NAMES are not.
-
Fedi.Tips 🎄 (feditips@mstdn.social)'s status on Sunday, 24-Sep-2023 04:10:10 JST Fedi.Tips 🎄 I looked at the ISO lists, but there aren't any of them that mix 2 and 3 letters. Is Mastodon using a non-standard list?
-
Fedi.Tips 🎄 (feditips@mstdn.social)'s status on Sunday, 24-Sep-2023 04:16:07 JST Fedi.Tips 🎄 I understand, but ISO_639_3 includes the languages from ISO_639_1 but with three letter codes. It's not obvious to ordinary users which list they should be looking at.
Basically, I'm trying to find a single easy-to-read list where people can look up the correct code 😄
-
GunChleoc (gunchleoc@mastodon.scot)'s status on Sunday, 24-Sep-2023 04:16:08 JST GunChleoc ISO_639_1 is 2-letter codes
ISO_639_3 is 3-letter codes for languages that aren't included in the ISO 639-1 standard
ISO_639_1_REGIONAL is 2-letter codes + country code - I added that for the Chinese languages that lack their ow language code and are all bunched under zh.
-
Fedi.Tips 🎄 (feditips@mstdn.social)'s status on Sunday, 24-Sep-2023 04:20:16 JST Fedi.Tips 🎄 Yeah, that's a good tip, thanks!
I think to give people options, I'll publish a complete list over on the fedi.tips site based on the github link you sent 👍
-
GunChleoc (gunchleoc@mastodon.scot)'s status on Sunday, 24-Sep-2023 04:20:17 JST GunChleoc @feditips @ButterflyOfFire I guess the easiest way to find the codes is to use the language selection in the posting box.
-
Fedi.Tips 🎄 (feditips@mstdn.social)'s status on Monday, 25-Sep-2023 02:36:29 JST Fedi.Tips 🎄 Here's the list!
-
butterflyoffire ⏚ꝃ⌁⁂ (butterflyoffire@mstdn.fr)'s status on Monday, 25-Sep-2023 02:36:30 JST butterflyoffire ⏚ꝃ⌁⁂ @feditips @gunchleoc :blobheart:
-
GunChleoc (gunchleoc@mastodon.scot)'s status on Monday, 25-Sep-2023 05:12:48 JST GunChleoc @feditips @ButterflyOfFire Thanks!
Found a bug, sr-Latn is not available, just sr (Cyrillic)
-
Fedi.Tips 🎄 (feditips@mstdn.social)'s status on Monday, 25-Sep-2023 05:12:48 JST Fedi.Tips 🎄 Hm... I just copied info straight off the Mastodon file of language settings... maybe they haven't actually added all those to the release code?
-
Fedi.Tips 🎄 (feditips@mstdn.social)'s status on Monday, 25-Sep-2023 07:19:48 JST Fedi.Tips 🎄 Oh no. Okay. Do you have a link I can check this with? I was basing it on the previous link you had 😁
-
GunChleoc (gunchleoc@mastodon.scot)'s status on Monday, 25-Sep-2023 07:19:49 JST GunChleoc @feditips @ButterflyOfFire The REGIONAL_LOCALE_NAMES array is not included in SUPPORTED_LOCALES 😉
-
Fedi.Tips 🎄 (feditips@mstdn.social)'s status on Monday, 25-Sep-2023 23:31:59 JST Fedi.Tips 🎄 Ahhh ok, so these ones are not in postsing languages?
'en-GB': 'English (British)',
'es-AR': 'Español (Argentina)',
'es-MX': 'Español (México)',
'fr-QC': 'Français (Canadien)',
'pt-BR': 'Português (Brasil)',
'pt-PT': 'Português (Portugal)',
'sr-Latn': 'Srpski (latinica)', -
GunChleoc (gunchleoc@mastodon.scot)'s status on Monday, 25-Sep-2023 23:32:00 JST GunChleoc @feditips @ButterflyOfFire That's the exact same link. There are 4 arrays in it; only the first 3 arrays are included in the posting languages.
-
Fedi.Tips 🎄 (feditips@mstdn.social)'s status on Tuesday, 26-Sep-2023 02:19:23 JST Fedi.Tips 🎄 Ahh, yeah, that's possible!
-
GunChleoc (gunchleoc@mastodon.scot)'s status on Tuesday, 26-Sep-2023 02:19:24 JST GunChleoc @feditips @ButterflyOfFire I can't reproduce that - it reroutes to en for me. Maybe those osts are made with an older version of Mastodon or are coming from a different software?
-