FAR Translation in English.
FAR Translation in English.
I've seen that some of the files (for example the Help files) are not completely translated in English, some sections are still in Russian.
I would like to help in translating them, i can use Google Translate for the basic translation and then fix the translation problems (and alignment if it's needed).
The question is : how can I help translate the fareng.hlf file (and other HLF files) and add it to the current code repository so that I (or others) won't have to re-translate the same part when each FAR version is released ?
From what I understand FAR uses GIT for the code repository, I worked with GIT but not too much so any help/suggestions are welcome (or if there is some other method used for translating the files).
P.S. I don't want to modify the code or anything, only help in finishing the translation of the HLF files (FAR's and the plugins that come with it) so that new users who don't speak/write Russian can understand the help files.
I would like to help in translating them, i can use Google Translate for the basic translation and then fix the translation problems (and alignment if it's needed).
The question is : how can I help translate the fareng.hlf file (and other HLF files) and add it to the current code repository so that I (or others) won't have to re-translate the same part when each FAR version is released ?
From what I understand FAR uses GIT for the code repository, I worked with GIT but not too much so any help/suggestions are welcome (or if there is some other method used for translating the files).
P.S. I don't want to modify the code or anything, only help in finishing the translation of the HLF files (FAR's and the plugins that come with it) so that new users who don't speak/write Russian can understand the help files.
Sorry for writing in English in the Russian forums, but i don't speak Russian and don't trust online translators.
"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA
"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA
- John Doe
- Бюрократ
- Posts: 13855
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 73 times
- Been thanked: 428 times
- Contact:
Re: FAR Translation in English.
You should edit FarEng.hlf.m4.
After translation you can attach it just here.
Or (even better) you can make diff patch and post it here
After translation you can attach it just here.
Or (even better) you can make diff patch and post it here
-
- Posts: 6836
- Joined: Thu 23 Mar, 2006 21:36
- Location: Israel
- Has thanked: 41 times
- Been thanked: 530 times
Re: FAR Translation in English.
Far uses SVN repository, not Git. It is at http://farmanager.googlecode.com/svn/trunk/unicode_far.
Help file: you should edit FarEng.hlf.m4.
Language files: you can edit them directly.
WRT granting you commit access - I cannot tell now. In the meantime you can submit your changes (as patches) here.
Help file: you should edit FarEng.hlf.m4.
Language files: you can edit them directly.
WRT granting you commit access - I cannot tell now. In the meantime you can submit your changes (as patches) here.
- John Doe
- Бюрократ
- Posts: 13855
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 73 times
- Been thanked: 428 times
- Contact:
Re: FAR Translation in English.
It's true.Shmuel wrote:Language files: you can edit them directly.
But according HACKING-EN better edit farlang.templ.m4 instead.
Re: FAR Translation in English.
Thanx for the quick reply.
I'll attach the modified FarEng.hlf.m4.file after i do some of the translations.
The language file seems to be translated, i'll have a look at it too.
P.S. sorry for mixing up GIT with SVN, i haven't actually looked where the code is.
I'll attach the modified FarEng.hlf.m4.file after i do some of the translations.
The language file seems to be translated, i'll have a look at it too.
P.S. sorry for mixing up GIT with SVN, i haven't actually looked where the code is.
Sorry for writing in English in the Russian forums, but i don't speak Russian and don't trust online translators.
"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA
"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA
Re: FAR Translation in English.
I have made the translation of the FarEng.hlf.m4.
Since i wasn't sure that i generated the diff file correctly (i've used WinMerge's "Generate Patch" tool), I've attached both the diff and the complete FarEng.hlf.m4 file, here's the archive containing both files There was one line that i wasn't able to translate (at around the 2708 line in the file), the original line was, Google translates it as which makes absolutely no sense to me (that's why i don't exactly trust online translators ).
If i have time i'll also translate the HLF files of the plugins (the ones that come with FAR).
I have looked at the farEng.lng file it also contains a few Russian texts, i'll use the farlang.templ.m4 (as John Doe suggested) to make a translation for it.
P.S. not all translations are perfect, but they are more than usable. I tried to respect the formatting used for HLF files but i might have screwed up the formatting so the HLF file should be tested after generating it (just in case i forgot a ~ or # sign somewhere).
EDIT: i only seem to find HLF files and no HLF.M4 files in the plugins in the repository, should i then edit directly the HLF files and post the modified versions here ?
Since i wasn't sure that i generated the diff file correctly (i've used WinMerge's "Generate Patch" tool), I've attached both the diff and the complete FarEng.hlf.m4 file, here's the archive containing both files There was one line that i wasn't able to translate (at around the 2708 line in the file), the original line was
Code: Select all
$+ - глубина стека каталогов
Code: Select all
$+ - glubina steaks catalog
If i have time i'll also translate the HLF files of the plugins (the ones that come with FAR).
I have looked at the farEng.lng file it also contains a few Russian texts, i'll use the farlang.templ.m4 (as John Doe suggested) to make a translation for it.
P.S. not all translations are perfect, but they are more than usable. I tried to respect the formatting used for HLF files but i might have screwed up the formatting so the HLF file should be tested after generating it (just in case i forgot a ~ or # sign somewhere).
EDIT: i only seem to find HLF files and no HLF.M4 files in the plugins in the repository, should i then edit directly the HLF files and post the modified versions here ?
Sorry for writing in English in the Russian forums, but i don't speak Russian and don't trust online translators.
"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA
"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA
- DrKnS
- Posts: 6114
- Joined: Thu 04 Aug, 2005 06:44
- Location: Kyiv
- Has thanked: 12 times
- Been thanked: 426 times
Re: FAR Translation in English.
"глубина стека каталогов" means "depth of directories stack", i.e. how many directories are currently stored in the stack.
Yes, exactly.i only seem to find HLF files and no HLF.M4 files in the plugins in the repository, should i then edit directly the HLF files and post the modified versions here ?
- HaRT
- Moderator
- Posts: 10863
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 221 times
- Been thanked: 358 times
Re: FAR Translation in English.
Hmm, in my case, it gives “depth of the directory stack”… How did you get that ridiculous “translation”?cyberwolf wrote:the original line was, Google translates it asCode: Select all
$+ - глубина стека каталогов
which makes absolutely no sense to me (that's why i don't exactly trust online translators).Code: Select all
$+ - glubina steaks catalog
Фар есть инструмент, а не нянька. © 2009 DrKnS
Re: FAR Translation in English.
I just realised that i had google translate set to "autodetect language" (i forgot to set it to Russian), and now that i looked closer, it says that for that given expression it detected the language as "Macedonian"HaRT wrote:Hmm, in my case, it gives “depth of the directory stack”… How did you get that ridiculous “translation”?
It's strange that it was the only text that it didn't detect as being Russian, for all other words/expressions it worked correctly.
Sorry for writing in English in the Russian forums, but i don't speak Russian and don't trust online translators.
"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA
"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA
Re: FAR Translation in English.
I'va managed to do the translations for the far.lng and hlf files used by the plugins (the ones that come with FAR).
The attached zip file contains the diff files (i finally realised that UnxUtils contains the diff tool to create the diff files )
I've used the latest version of the files taken from the SVN (as of 13:00 12.01.2014).
EDIT : i have also updated the FarEng.hlf.m4 file with the missing translations, now it should be completely in English, i've attached another archive with the diff file for it. P.S. i've translated the farlang.templ.m4 instead of the far.lng as John Doe suggested.
If i can help with the translations (or any other way) please let me know as i really love FAR Manager
The attached zip file contains the diff files (i finally realised that UnxUtils contains the diff tool to create the diff files )
I've used the latest version of the files taken from the SVN (as of 13:00 12.01.2014).
EDIT : i have also updated the FarEng.hlf.m4 file with the missing translations, now it should be completely in English, i've attached another archive with the diff file for it. P.S. i've translated the farlang.templ.m4 instead of the far.lng as John Doe suggested.
If i can help with the translations (or any other way) please let me know as i really love FAR Manager
Sorry for writing in English in the Russian forums, but i don't speak Russian and don't trust online translators.
"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA
"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA
- HaRT
- Moderator
- Posts: 10863
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 221 times
- Been thanked: 358 times
Re: FAR Translation in English.
As you use svn anyway, I'd recommend “svn diff”. It gives diff-compatible files that also incorporate Subversion specifics (properties, added/deleted files, etc).cyberwolf wrote:UnxUtils contains the diff tool to create the diff files
I've used the latest version of the files taken from the SVN (as of 13:00 12.01.2014).
Фар есть инструмент, а не нянька. © 2009 DrKnS
-
- Posts: 6836
- Joined: Thu 23 Mar, 2006 21:36
- Location: Israel
- Has thanked: 41 times
- Been thanked: 530 times
Re: FAR Translation in English.
I just wanted to prevent 2 of us doing the same work - it would be silly.
I could take Far Help patch and you - lng and plugins patches, is it OK for you?
On the other hand, it would be much better if this work was done by somebody knowing English on higher level (e.g. NightRoman).
I could take Far Help patch and you - lng and plugins patches, is it OK for you?
On the other hand, it would be much better if this work was done by somebody knowing English on higher level (e.g. NightRoman).