• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Character ' is causing problem in fr_FR

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

We plan to use jForum on a production and use moderation (waiting moderation). There is a bug caused by the french property file (fr_FR.properties). I don't know why but I know what is causing the bug. When you submit a post, the message is generated with this key PostShow.waitingModeration. The value in french is :

PostShow.waitingModeration= Ceci est un forum mod̩r̩.
Votre message est dans la queue en attente d'un mod̩rateur, soyez patient.

Cliquez ici pour continuer.

Because of this caracter ' (in the sentence d'un mod̩rateur)the link generated is not good.
(http://localhost:8080/jforum/posts/waitingModeration/2/{0})

When I remove the ' everthing works fine.

Do we have to double this caracter or escape it (\') if we want to use it ?

I also that there are some keys that are missing in this file. Is there a tool available to synchronize this file with the en_US version...

Thanks

Martin


[originally posted on jforum.net by Martin]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi again

I have the same problem with this key CannotDeleteCategory which contain the same character ' before the {0}. The same problem will occure with other language (it_IT).


Martin
[originally posted on jforum.net by Martin]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In fact, this ' will cause some problems. The sollution then is to put two ' ('').

I'll update the language files. Thanks for report it

Rafael
[originally posted on jforum.net by Rafael Steil]
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic