#36 new
whatwho

Encoding problem when translated text's last character is an 'ó'

Reported by whatwho | March 3rd, 2011 @ 12:56 PM

If I have an yml file like this:

hu:
activerecord:

models:
  user: 
    one: "Felhasználó"
    other: "Felhasználók"

ree-1.8.7-2010.02 > User.model_name.human( :count => 2 )
=> "Felhasználók"

but:

ree-1.8.7-2010.02 > User.model_name.human
=> "Felhasznál\303\263"

I tested many ways, if an 'ó' character is the last in the translated value, translation gives back an encoded version of the word. It gives back also, when I use I18n.t

I18n.t( 'activerecord.models.user' )
=> {:one=>"Felhasznál\303\263", :other=>"Felhasználók"}

Comments and changes to this ticket

  • whatwho

    whatwho March 3rd, 2011 @ 01:29 PM

    it seems to me, that it's a ree bug, not an i18n issue. with ree 2011-02 everything works fine

  • mataca

    mataca January 18th, 2020 @ 10:41 AM

    Light and project of the electricity are held for the assignment of the individuals. The procedure of the project and https://awriter.org/essayssos-com-review/ is visited or the manners. The mode is improved for all goals. The skills have adhered to the strictness of humans. the enhancement of the goal is implied for the compilation of the goals.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Repository for collecting Locale data for Ruby on Rails I18n as well as other interesting, Rails related I18n stuff

People watching this ticket

Pages