#490 Internationalisation error

v12
closed-fixed
Nicolas
5
2010-07-22
2010-07-22
Obi Wan Kanobi
No

Hallo Jmol-devs

While translating this fine app I found a few things that I wanted to report.

org/openscience/jmol/app/jmolpanel/AtomSetChooser.java:368
"Play the whole collection of {0}'s"

This string cannot be translated correctly into Danish. {0} can be both vector and atom set, but in Danish these two objects does not have the same plural ending, so I cannot translate "'s" correctly in a way that covers both cases. I would suggest seperate strings

Discussion

  • Obi Wan Kanobi
    Obi Wan Kanobi
    2010-07-22

    • summary: Internationalisation errors and requests for comments --> Internationalisation error
     
  • Angel Herraez
    Angel Herraez
    2010-07-22

    Dear Obi,

    This can be done, but the method is somewhat convoluted.
    I've checked what I have done in the Spanish translation and I just ignored the "s".

    Anyway, if you think it's important, I'll see if I can implement it. Basically it's a question of defining two phrases. We have an example with "top", which means either "view from above" or "go to the top".

    More news in a day or two.

     
  • Angel Herraez
    Angel Herraez
    2010-07-22

    It was easier than I thought.
    The changes are commited. Will be available in the next update of PO files.

     
  • Nicolas
    Nicolas
    2010-07-22

    Hi Angel,

    I am not entirely convinced of this modification, because we still have problem with some languages.

    For example, for French, I can't translate correctly "Go to next {0} in the collection"

    With "atom set" (translated to "ensemble d'atomes" maybe), it would be translated to "Aller à l'{0} suivant" because "ensemble d'atomes" starts with a vowel, so I need the "à l'"

    With "vector" (translated to "vecteur"), it would be translated to "Aller au {0} suivant" because "vecteur" starts with a consonn, so I need the "au"

    I am committing an other fix, removing entirely the {0} stuff for a few strings, and duplicating them : one version with atom set / atom sets, one version with vector / vectors

     
  • Thank you

    Regards TLE

     
  • Nicolas
    Nicolas
    2010-07-22

    • milestone: 632926 --> v12
    • assigned_to: migueljmol --> nicove
    • status: open --> open-fixed
     
  • Angel Herraez
    Angel Herraez
    2010-07-22

    That's OK with me, Nico.

     
  • Bob Hanson
    Bob Hanson
    2010-07-22

    "Play the whole {0} collection" is better in English as well.

     
  • Bob Hanson
    Bob Hanson
    2010-07-22

    • status: open-fixed --> closed-fixed
     
  • Spelling error in one of the strings "Go to next vecotr in the collection"

    \Kenneth

     
  • Angel Herraez
    Angel Herraez
    2010-07-23

    Thanks, Kenneth
    I fixed that yesterday. Should be OK now

     
  • Nicolas
    Nicolas
    2010-07-24

    I updated the .po files and uploaded them to launchpad

     
  • Thanks

    Regards Kenneth