• 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
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Greek translation problem

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello to all,
This is a really nice forum software you have there!!!Gongrats!


I'm trying to make a Greek translation of the forum but I have encountered a quite annoying problem.
I'm following the guide posted in "How to contribute and maintain a translation! " and I have created a file el_GR.properties.

So i have written inside the file my greek translations and saved it in UTF-8 format.

But when it comes to display it in the browser i keep getting all those weird characters instead of greek. The character-encoding of the browser is also set to UTF-8

Any ideas ???
[originally posted on jforum.net by spine]
 
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
I have the same problem with the UTF-8 and greek characters.
Can you help me?
[originally posted on jforum.net by stavroch]
 
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

spine wrote:
So i have written inside the file my greek translations and saved it in UTF-8 format.
...
But when it comes to display it in the browser i keep getting all those weird characters instead of greek. Any ideas ???



You shouldn't save the .properties file in UTF-8. They must be converted to ISO-LATIN-1! I think ASCII only is even more safe. Use the native2ascii utility from JDK, or - if you are already using Eclipse - the ResourceBundle Editor extension does the conversion automatically.
[originally posted on jforum.net by dshk]
 
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
Thank s a lot.

It works!!!
Also you can use the WYSIWG editor for converting the UTF-8 to HEX code.
[originally posted on jforum.net by stavroch]
 
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic