bluesky-social / social-app

The Bluesky Social application for Web, iOS, and Android
https://bsky.app
MIT License
10.93k stars 1.37k forks source link

Language autodetected correctly but cannot be used on feeds or search #6346

Open ivanbea opened 8 hours ago

ivanbea commented 8 hours ago

Steps to Reproduce

1- Post something in asturianu https://www.localeplanet.com/icu/ast-ES/index.html like "Ye cierto, ensin embargo nun sé por qué sí me sal automáticamente esta etiqueta:" and the language is recognized as "ast", also in the JSON "langs":["ast"] 2- Try to search something and filter by language, you cannot select Asturiano anywhere, even when the post is recognized on this language Also with skyfeed you cannot select this language, I tried to edit the JSON like "id": "aaacx4f64znlo", "type": "remove", "subject": "language", "value": null, "language": "ast" But it is not recognized.

I think this will happen with all the languages with a three-letter code (like ast), the language is recognized in the post but you can only select or search with two-letter codes.

Attachments

See this post in asturianu

https://bsky.app/profile/iyanuvieu.bsky.social/post/3lawj5tvtvk2j

bafkreicfa3btpisfe77gnqwrahqrgwpcy7gttarxlrvgthwuvmqv35svjy

What platform(s) does this occur on?

iOS, Android, Web (Desktop), Web (Mobile)

Device Info

No response

What version of the app are you using?

1.93.0.373

Additional Information

No response

iyanuvieu commented 5 hours ago

Hi there! We, the asturian language based community in BlueSky, wanted to use our language in order to develop a strong community in that site.

We've been trying to make our own feed or server but, although BS recognizes our language asr "ast" we can't tag our posts in asturian.

Notice that asturian language has its own code: https://www.localeplanet.com/icu/ast-ES/index.html

... and check that AST it's not available in order to tag our posts. Check those screenshots! 😊

If we could fix it, it will be sooo easy to develop our own feeds🥰

Screenshot_2024-11-14-20-30-01-542_xyz blueskyweb app

Screenshot_2024-11-14-23-09-03-225_com google android apps photos

nuberlang commented 3 hours ago

I have the same problem, but I see that other languages ​​with three characters in the encoding do appear to select, for example Aragon.

auroursa commented 3 hours ago

I have the same problem, but I see that other languages ​​with three characters in the encoding do appear to select, for example Aragon.

Aragon has been assigned the code2 “an,” which is why it can be used as a Post Language. Currently, Post Language (as well as search language filters, etc.) is mapped one-to-one with code2. If a language isn’t included in the ISO 639-1 list, it can’t currently be used as a Post Language…

This is definitely an area that needs improvement, as many popular languages lack a code2.