Page 1 of 1

Russian translation *NEW*

PostPosted: Sun May 05, 2013 12:26 pm
by mypp32
Hi. I have a problem when i translate 15% of text and testing it I saw that
Image

Can you say why translate dont work...

Re: Russian translation *NEW*

PostPosted: Sun May 05, 2013 5:01 pm
by electronicboy
Thanks for attempting to translate the new version of algodoo!

Can I ask, where are you saving the translation files? (PS, My documents is the recommended place for user translations).

Try saving the file as a different name, e.g. arussion, and see if algodoo picks up the new file, it may be that Algodoo is trying to read from the version in Program Files, in this case, the problem shouldn't be too hard to fix!

This is a quick guess as to the problem, please upload a copy of logfile.txt, this is found in the Mydocuments/Algodoo folder.
Also, please note that Algodoo should fall back to the english language file for missing translations!


PS, Welcome to the forums, I hope we can solve this problem for you!

Re: Russian translation *NEW*

PostPosted: Mon May 06, 2013 1:13 pm
by mypp32
Ok. I save translate in my documents and in algodoo/data/language. log file:

Re: Russian translation *NEW*

PostPosted: Mon May 06, 2013 5:03 pm
by mypp32
ok i finished 50% Yay 8-) but it still not work :crazy:

Re: Russian translation *NEW*

PostPosted: Mon May 06, 2013 8:23 pm
by electronicboy
Line 266:
Code: Select all
"Инструмент для создания цепи - создаёт цепь или верёвку".";

Remove the extra " r
replace with
Code: Select all
"Инструмент для создания цепи - создаёт цепь или верёвку.";


Line 885; same
Code: Select all
MotorAutoBrake_Tooltip     = "Автоматически останавливает двигатель, если ни одна из кнопок управления не нажата".";

replace with
Code: Select all
MotorAutoBrake_Tooltip     = "Автоматически останавливает двигатель, если ни одна из кнопок управления не нажата.";


Line 267; Using " inside a string, actually closes the string,
Code: Select all
Option_KineticPanning_Tooltip = "Вы можете "бросить" камеру.";

replace with
Code: Select all
Option_KineticPanning_Tooltip = "Вы можете 'бросить' камеру.";


If you open the console with F10, it it will show you what the problem is,
for issues 1 and 2, the following message example was shown;
Code: Select all
1094242 ms: Loading language Russian...
1094258 ms: - WARNING - Caught exception: Line 885: Newline in string literal. Consider using @" string literals for that., Source\script\Parser.cpp:207: class SharedPtr<class script::CodeBlock> script::Parser::Parse(const util::String &,class SharedPtr<class script::Reflected>)
1094258 ms: - ERROR - Failed to load language Russian


Key notes, "Line 885" - Shows what line the error is on!
"newline in sting literal" This usually indicates that there is an extra " in the translation file.

As for the 3rd error;

Code: Select all
1188837 ms: Loading language Russian...
1188903 ms: - WARNING - Error in language file Algodoo/data/language/Russian.cfg: Function call applied to non-function: "Вы можете "(бросить)
1188918 ms: - WARNING - Missing Russian translation for Option_KineticPanning_Tooltip

This error is a bit harder to understand, but the missing translation is usually a key part of the message!
In this case, you exited the string, and carried on, and algodoo just simply got confused!


I'm sure you can fix the file with the above infomation, but I've attached a fixed copy to this reply!

Re: Russian translation *NEW*

PostPosted: Mon May 06, 2013 9:05 pm
by mypp32
thank you :clap:. If i need somethink i ask. thank you again.

Re: Russian translation *NEW*

PostPosted: Mon May 20, 2013 7:03 pm
by mypp32
99.99% ready if you see any bugs please contact with me cool.mypp32@yandex.ru

Re: Russian translation *NEW*

PostPosted: Sun Oct 29, 2017 1:19 pm
by trom_bone
спасибо!