Hi
Just a remark
When I use on: as a key in my language file I18N cannot find that key
in the yml file, but when I change it to on_: it works
I use it to translate a preposition before time as born on 1:th of
april
My en.ylm file has
enumeration:
disweb_date:
preposition:
on: on
My se.ylm file has
enumeration:
disweb_date:
preposition:
on: den
This does not work but
enumeration:
disweb_date:
preposition:
on_: den
works
Anyone that has an explanation
on 2010-09-15 09:55
on 2010-09-15 11:53
Guessing it's treated as a bool (same as unquoted "no"). Skickat frÃ¥n min iPhone 15 sep 2010 kl. 11:49 skrev Andrés MejÃa <andmej@gmail.com>: Try "on": on On Wed, Sep 15, 2010 at 9:54 AM, Hans Marmolin <hans.marmolin@klockholm.se>wrote: > preposition: > enumeration: > Phone: +46708371202 > To post to this group, send email to rails-i18n@googlegroups.com. > To unsubscribe from this group, send email to > rails-i18n+unsubscribe@googlegroups.com<rails-i18n%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rails-i18n?hl=en. > > -- You received this message because you are subscribed to the Google Groups "rails-i18n" group. To post to this group, send email to rails-i18n@googlegroups.com. To unsubscribe from this group, send email to rails-i18n+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rails-i18n?hl=en.
on 2010-09-15 12:09
Andreas, Henrik Thanks for the tips Someone should list in the I18 guide reserved words in the yaml files (I have not that knowledge myself) There have been several mails in this group concerned with that question and that may be a base for these advices ____________________________________________ Hans Marmolin St: Larsgatan 50, 58224 Linköping, Sweden Phone: +46708371202 15 sep 2010 kl. 11.52 skrev Henrik Nyh:
on 2010-09-16 11:51
On Wed, Sep 15, 2010 at 12:08, Hans Marmolin <hans.marmolin@klockholm.se> wrote: > Someone should list in the I18 guide reserved words in the yaml files (I > have not that knowledge myself) > There have been several mails in this group concerned with that question and > that may be a base for these advices That's a good idea. Anyone can contribute to docrails: http://guides.rubyonrails.org/contribute.html I don't have the time right now. http://yaml.org/type/bool.html lists the bools: y|Y|yes|Yes|YES|n|N|no|No|NO |true|True|TRUE|false|False|F
on 2010-09-16 13:23
Henrik I my try to add something about this topic, if other could do as you did Add any information about the reserved words in the yaml files and other problems Just a remark; Why should on be treated as no. It is not in list of bools you refer to below But is is a bollen in http://yaml.org/type/bool.htm that lists y|Y|yes|Yes|YES|n|N|no|No|NO |true|True|TRUE|false|False|FALSE |on|On|ON|off|Off|OFF ____________________________________________ Hans Marmolin St: Larsgatan 50, 58224 Linköping, Sweden Phone: +46708371202 16 sep 2010 kl. 11.50 skrev Henrik Nyh:
on 2010-09-16 13:49
On is not treated as No, quite the opposite. On Thu, Sep 16, 2010 at 1:22 PM, Hans Marmolin
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.