Closed greywolve closed 9 years ago
Hi Oliver,
Sorry for the delay getting back to you. Will be pushing a v2.1.0
(final) release later today which allows arbitrary locales for the translation API.
You'll be able to add :af
keys to your dictionary and request :af
translations w/o needing to make any config changes.
Note that you will need to make config changes (add an Afrikaans system locale) to use the localization utils since those lean on the JVM.
Hope that helps, cheers! :-)
Hey Peter,
Thanks for the great library. I just wanted to ask if there is a simple way to add language/locale that doesn't exist in the java getAvailableLocales method you are using to check for validity?
I'm trying to add afrikaans which isn't included by default. I don't really need all the formatting stuff, just translations, but obviously trying to use :af in the dictionary blows up.
I searched for ways of adding locales to LocaleServiceProvider via java but it seems like quite a mission for what I want to actually do.
Any advice?
Thanks!
Oliver