hi there I have an app that keeps country codes to translate the country names, but Norway does not works, mainly because its country_code is NO and that is reserved I guess. how can I fix that? thanks in advance greetins joaquin
on 2010-09-09 18:17
on 2010-09-09 18:26
Yeah, that's a classic YAML gotcha. foo: no sets foo to false. foo: "no" sets foo to "no".
on 2010-09-09 18:28
hi,
I ment this:
en:
countries:
#long list of country codes
NO: Norway
# and so on
but yes, replacing it with "NO" did the trick, thanks a lot
jk
2010/9/9 Henrik Nyh <henrik@nyh.se>
> >
> >> greetins
> >> For more options, visit this group at
> > http://groups.google.com/group/rails-i18n?hl=en.
> For more options, visit this group at
> http://groups.google.com/group/rails-i18n?hl=en.
>
>
--
www.least-significant-bit.com
on 2010-09-10 11:38
Hi, Norwegian codes are no-NB or no-NN depending on bokmål or nynorsk. This works for me. Cheers, Trond
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.