FAR Translation in English.

You want to talk about Far Manager, but don't know where to turn?
cyberwolf
Posts: 109
Joined: Tue 24 Mar, 2009 14:39

FAR Translation in English.

Post by cyberwolf » Thu 16 Jan, 2014 11:12

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.
Sorry for writing in English in the Russian forums, but i don't speak Russian and don't trust online translators. :D

"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA

User avatar
John Doe
Бюрократ
Posts: 11415
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 17 times
Been thanked: 101 times

Re: FAR Translation in English.

Post by John Doe » Thu 16 Jan, 2014 11:24

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

Shmuel
Posts: 5230
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 16 times
Been thanked: 151 times

Re: FAR Translation in English.

Post by Shmuel » Thu 16 Jan, 2014 11:31

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.

User avatar
John Doe
Бюрократ
Posts: 11415
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 17 times
Been thanked: 101 times

Re: FAR Translation in English.

Post by John Doe » Thu 16 Jan, 2014 11:40

Shmuel wrote:Language files: you can edit them directly.
It's true.
But according HACKING-EN better edit farlang.templ.m4 instead.

User avatar
DrKnS
Posts: 4644
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 4 times
Been thanked: 125 times
Contact:

Re: FAR Translation in English.

Post by DrKnS » Thu 16 Jan, 2014 12:10

If some parts of Russian text is not clear for you, feel free to ask anything, explanation will be provided.

cyberwolf
Posts: 109
Joined: Tue 24 Mar, 2009 14:39

Re: FAR Translation in English.

Post by cyberwolf » Thu 16 Jan, 2014 12:41

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.
Sorry for writing in English in the Russian forums, but i don't speak Russian and don't trust online translators. :D

"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA

cyberwolf
Posts: 109
Joined: Tue 24 Mar, 2009 14:39

Re: FAR Translation in English.

Post by cyberwolf » Fri 17 Jan, 2014 00:54

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
FarEng.hlf.m4.zip
(112.84 KiB) Downloaded 76 times
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

$+ - глубина стека каталогов
, Google translates it as

Code: Select all

$+ - glubina steaks catalog
:P which makes absolutely no sense to me (that's why i don't exactly trust online translators :oops: ).

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. :D

"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA

User avatar
DrKnS
Posts: 4644
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 4 times
Been thanked: 125 times
Contact:

Re: FAR Translation in English.

Post by DrKnS » Fri 17 Jan, 2014 01:50

"глубина стека каталогов" means "depth of directories stack", i.e. how many directories are currently stored in the stack.
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 ?
Yes, exactly.

User avatar
HaRT
Moderator
Posts: 8118
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 68 times
Been thanked: 106 times

Re: FAR Translation in English.

Post by HaRT » Fri 17 Jan, 2014 11:39

cyberwolf wrote:the original line was

Code: Select all

$+ - глубина стека каталогов
, Google translates it as

Code: Select all

$+ - glubina steaks catalog
which makes absolutely no sense to me (that's why i don't exactly trust online translators).
Hmm, in my case, it gives “depth of the directory stack”… How did you get that ridiculous “translation”?
Фар есть инструмент, а не нянька. © 2009 DrKnS

cyberwolf
Posts: 109
Joined: Tue 24 Mar, 2009 14:39

Re: FAR Translation in English.

Post by cyberwolf » Fri 17 Jan, 2014 12:31

HaRT wrote:Hmm, in my case, it gives “depth of the directory stack”… How did you get that ridiculous “translation”?
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" :ha:
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. :D

"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA

cyberwolf
Posts: 109
Joined: Tue 24 Mar, 2009 14:39

Re: FAR Translation in English.

Post by cyberwolf » Tue 21 Jan, 2014 15:02

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
FarEng.hlf.m4.diff_21.01.2014.zip
(46.11 KiB) Downloaded 67 times
contains the diff files (i finally realised that UnxUtils contains the diff tool to create the diff files :oops: )
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.
far_translation_21.01.2014.zip
(7.15 KiB) Downloaded 62 times
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 :wink:
Sorry for writing in English in the Russian forums, but i don't speak Russian and don't trust online translators. :D

"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA

User avatar
HaRT
Moderator
Posts: 8118
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 68 times
Been thanked: 106 times

Re: FAR Translation in English.

Post by HaRT » Tue 21 Jan, 2014 15:34

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).
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).
Фар есть инструмент, а не нянька. © 2009 DrKnS

Shmuel
Posts: 5230
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 16 times
Been thanked: 151 times

Re: FAR Translation in English.

Post by Shmuel » Thu 23 Jan, 2014 14:57

Is somebody from Far Group working on these patches?

User avatar
DrKnS
Posts: 4644
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 4 times
Been thanked: 125 times
Contact:

Re: FAR Translation in English.

Post by DrKnS » Thu 23 Jan, 2014 15:18

I thought about it but you're welcome if you want.

Shmuel
Posts: 5230
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 16 times
Been thanked: 151 times

Re: FAR Translation in English.

Post by Shmuel » Thu 23 Jan, 2014 15:34

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).

User avatar
John Doe
Бюрократ
Posts: 11415
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 17 times
Been thanked: 101 times

Re: FAR Translation in English.

Post by John Doe » Thu 23 Jan, 2014 15:37

There is some unconsistency with term "plugin": sometimes it's called "plug-in".
I think we should use one spelling, not both.

Post Reply

Return to “General Discussions”