JimPanzee Posted June 23, 2015 Share Posted June 23, 2015 Hi, Maybe I have missed it, but I can't find what codec the translation files have to use. I suspect utf-8 but with BOM or without? Big endian? Link to comment Share on other sites More sharing options...
blindcoder Posted June 23, 2015 Share Posted June 23, 2015 UTF-8, no BOM, little endian. JimPanzee 1 Link to comment Share on other sites More sharing options...
RoboMat Posted June 23, 2015 Share Posted June 23, 2015 I think PZ uses different encodings depending on the language. You'll have to make sure to encode the different files correctly. For German, French and Finnish translation files I use the Windows 1252 encoding. For the Russian translation I use Windows 1251. JimPanzee 1 Link to comment Share on other sites More sharing options...
JimPanzee Posted June 23, 2015 Author Share Posted June 23, 2015 Thanks you two for the info. It's difficult to read the files with a script when you don't know what they are encoded in. When writing back, I will just get sure to write utf-8. I just hope it doesn't mess with the special chars. Will post a script tomorrow, that automatically creates translation files for items and recipes based on google translate. The translation may not be perfect, but it can really speed up a manual translation. Link to comment Share on other sites More sharing options...
JimPanzee Posted June 24, 2015 Author Share Posted June 24, 2015 It's finished: http://theindiestone.com/forums/index.php/topic/15194-tool-automatic-creation-of-translation-files/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now