-
Notifications
You must be signed in to change notification settings - Fork 0
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
Automatically generate UK English and bb_BB locale language files #3
Comments
The current implementation for UK English uses multiple language variants file. The first file loaded is
Then we load a locale specific file that overrides the 'standard' variants.
Variant examples
Note:
|
It was pointed out to me that each language/locale may have its own glossary file. e.g. locale-en-gb-glossary.csv for UK English. This can be downloaded from GlotPress https://translate.wordpress.org/locale/en-gb/default/glossary The default file name for As it was rather tricky using a file named like this in my Windows machine, I have called my local version Similarly the The oik-i18n code should be changed to use the default glossary file in preference to the variants file, and then the local override if the translation is still not right. |
The US English This was because the variants file was in mixed case. Adding howdy,hi to the |
The Leaving open until that's done. |
In bobbingwide/oik#9 we've changed the default language for translatable strings from UK English (
en_GB
) to US English (en_US
).For testing of oik and the shared libraries in oik-libs we use two locales - en_GB and bb_BB ( the bbboing language ).
We need to automatically generate the UK English files using
l10n.php
, which callsla_CY.php
.The bb_BB locale is generated using
bb_BB.php
.Proposed solution
The text was updated successfully, but these errors were encountered: