Using accents in translations
Using accents in translations | tair001 | 01/07/2009 - 14:29 |
Just a quick one - how do you use accents in the xml files within a goomod file? I'm currently trying to implement the French translations written for my levels but whenever I copy them into the xml (in a fr="[text]") and save and exit (using WordPad), when I try to open the xml in ie7 it says that there's a problem with the script. | ||
Re: Using accents in translations | Nicosmos | 01/07/2009 - 14:33 |
Choose the UTF-8 charset to encode the file. ;) | ||
Re: Using accents in translations | My-Key | 01/07/2009 - 15:05 |
And you have to at first encode french text to UTF-8. I've converted txt file with only French translation using this program http://forge.vtiger.com/frs/?group_id=137&release_id=315 and after taht I've copied converted text into xml. | ||
Re: Using accents in translations | davidc | 01/07/2009 - 15:47 |
Indeed you need to use UTF-8. I haven't tested it, but in Notepad (not Wordpad) if you go File->Save As, you can change the encoding from ANSI to UTF-8. That should do the trick. | ||
Re: Using accents in translations | My-Key | 01/07/2009 - 15:51 |
I'm working on notepad and there is such option, but text must be in UTF-8. Notepad dosen't convert. | ||
Re: Using accents in translations | tair001 | 01/07/2009 - 16:48 |
Wordpad converts quite nicely - open, click Save As, then select UTF-8 from the dropdown and save it over the existing file. Bish bash bosh. | ||
Re: Using accents in translations | dreammen | 01/15/2009 - 02:41 |
I don't know how to do it? spanish to english translation | ||
Re: Using accents in translations | davidc | 01/15/2009 - 05:36 |
It was pointed out that Wordpad/Notepad add a Byte order mark to the beginning of the files they save, even if they're UTF-8. Java's XML parser doesn't recognise these and complains about "content not allowed in prolog". | ||
Re: Using accents in translations | davidc | 01/15/2009 - 18:56 |
GooTool 0.10.0 is out and should no longer have these problems with byte order marks. http://goofans.com/node/93 |