Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[l10n] add bs language #37196

Open
AndyAnds265 opened this issue Mar 29, 2024 · 9 comments
Open

[l10n] add bs language #37196

AndyAnds265 opened this issue Mar 29, 2024 · 9 comments
Labels
OS/Android Fixes related to Android browser functionality

Comments

@AndyAnds265
Copy link

AndyAnds265 commented Mar 29, 2024

Hello,

We would like to begin supporting the Bosnian language which is indicated by the locale code bs.

We will not be paying for localization services in Bosnian; however we'll be leveraging a combination of resources from Chromium and previously existing translations.

For context, Bosnian, Croatian, Montenegrin and Serbian languages are all very similar languages. In fact, they are fundamentally the same language with some political differences due to their history.

Currently we have a substantial user base in Bosnian but as we do not support the locale bs, all of those users are viewing the app and content in English.

Although it isn't a perfect solution, we would like to copy over the Croatian localizations since it is the closest to Bosnian and the least political.

Therefore, moving forward, can we please use a one-to-many mapping for the hr language:

hr: bs, hr

@AndyAnds265 AndyAnds265 added the OS/Android Fixes related to Android browser functionality label Mar 29, 2024
@AndyAnds265
Copy link
Author

The goal here is to allow us to cover more with less

@AndyAnds265
Copy link
Author

@mkarolin is this something you can handle?

@AndyAnds265
Copy link
Author

@deeppandya or maybe Deep?

@mkarolin
Copy link
Contributor

I looked into this a bit and it seems like, unfortunately, this is not going to be useful. Currently, Chrome (and consequently Brave) doesn't allow to set Bosnian as the UI language on any of the Desktop platforms or on Android (@deeppandya, please let me know if I am wrong). You can add Bosnian to the languages, but on Desktop the option to set it as the UI language is greyed out. On Android, I could set Bosnian as my UI language but it still showed in English, perhaps the entire phone's preferred language needs to be changed, but I have not attempted that. As to why Chrome doesn't support Bosnian as a UI language is not clear to me, perhaps it has something to do with the native platform support for the language (https://source.chromium.org/chromium/chromium/src/+/main:build/config/locales.gni;l=132)

@deeppandya
Copy link
Contributor

yeah we can select Bosniak as one of the language for android. and it seems chromium has translations for Bosniak so it makes sense to include it for brave. @AndyAnds265 do we know how many users we have in the region ?

@AndyAnds265
Copy link
Author

AndyAnds265 commented Apr 18, 2024

At the moment, we have 7.7k users in Bosnian. This is just Android.

Screenshot 2024-04-18 at 4 14 07 PM

@deeppandya
Copy link
Contributor

@andy we seem to be missing the support from chromium even though they have the translation file. i also confirmed that with chrome app. changing the language in OS, doesn't do anything for Bosniak.

@AndyAnds265
Copy link
Author

@deeppandya I confirmed by looking in the Chromium files that bs is present. You can see the language here: https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ui/android/strings/translations/android_chrome_strings_bs.xtb

Since the language is there, is there a way we can contact someone at the Chromium dev side or something? It could be possible that there's a bug in a few languages

@AndyAnds265
Copy link
Author

Just wanted to bump this - any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS/Android Fixes related to Android browser functionality
Projects
None yet
Development

No branches or pull requests

3 participants