Closed Niklas81 closed 4 years ago
The problem is slightly different here - the Bengali is spoken in India and Bangladesh, so there is not a one country to choose in this case. Weblate cannot address such ambiguity for you and you should choose language with country that matches your expectation.
Thank you for your report, the issue you have reported has just been fixed.
The issue here is that an underscore _
is used as a separator instead of a hyphen -
. As stated in my bug report, this occurs also when country code is supposed to be incuded in the name of that file that's created. For my usage, I will still not need this to work as I need the countrycode to be in lower case letters anyway - so I have to create new language files outside of Weblate. This remains however an unresolved issue as the language code style
clearly states that a hyphen
should be used: BCP style using hyphen as a separator, including country code
.
Ah, sorry for misunderstanding the initial post. Anyway the issue should be fixed by a36ba0cdd616c7db5083029758ff060690161bde
Cool, thanks!
As previously described in #3746 and #3285: From
component
->Manage
->Settings
->Files
I change the last settingLanguage code style
toBCP style using hyphen as a separator, including country code
, but this has no effect. When new files are generated, they are created as e.g.bn_BD_common.json
forBengali Bangladesh
. Same file is generated when I change this setting toBCP style using hyphen as a separator
To Reproduce
This is done on a fresh installation of
Weblate 4.1.1
running underDocker
on my local machine, using imageweblate/weblate:latest
that was pulled fromDocker hub
9 days ago.Below is a screenshot of this settings page.
Expected behavior I was expecting the file
bn-BD_common.json
to be created.Server configuration and status
Output of
docker-compose exec weblate weblate list_versions
:Weblate deploy checks
Output of
docker-compose exec --user weblate weblate weblate check --deploy
:This bug was marked as
fixed
in version 4.1; however the bug appears to still be alive and well.. :smile: