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

Translation of subregions (for non English locales) #198

Closed
xandrck opened this issue Feb 5, 2016 · 5 comments
Closed

Translation of subregions (for non English locales) #198

xandrck opened this issue Feb 5, 2016 · 5 comments

Comments

@xandrck
Copy link

xandrck commented Feb 5, 2016

Hi guys, I wanna to ask about translation of subregions, I tried to find it, but I found nothing.
I'm interesting in RU subregions translation, Is it exist?

@ecbypi
Copy link
Contributor

ecbypi commented Feb 5, 2016

The following wiki page goes over how to update translations. https://github.com/jim/carmen/wiki/Contributing-Data

Let me know if you have any questions beyond that.

@xandrck
Copy link
Author

xandrck commented Feb 5, 2016

Yes, I saw that, thanks.
I was talking about carmen project resources and I'm asking about next:
for example I have RU locale (setting it by Carmen.i18n_backend.locale = :ru)
so when I execute next code Carmen::Country.coded('RU').subregions I expect it to return subregions with translated names, but I get all of them on english.

As I see here the subregions are translated, how can I used this translation?

p.s. Carmen::Country.coded('RU') return translated country (on russian), so locale is set.

Thanks

@jcsrb
Copy link

jcsrb commented Mar 2, 2016

@xandrck be sure to fetch master from github not 1.0.2 from rubygems, as rubygems pushed version doesn't have all the translations merged yet

image

@xandrck
Copy link
Author

xandrck commented Mar 3, 2016

@jcsrb thanks, that's what I'm looking for 👍

@xandrck xandrck closed this as completed Mar 3, 2016
@parimaay
Copy link

Hello,

I'm facing the same issue of translations of subregions but for the Simplified Chinese with gem "carmen", "~> 1.1.3"
I have done as following but am still getting the English translation for subregions:

Carmen.i18n_backend.locale = :cn
Carmen::Country.coded('CN').subregions

Screen Shot 2021-08-11 at 10 32 46 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants