rejetto forum

Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: elistvan on June 23, 2017, 07:42:59 AM

Title: Translations to other languages
Post by: elistvan on June 23, 2017, 07:42:59 AM
Hi!

I would line to translate the program to my native language: Hungarian. Can somebody send me the necessary fles to translate them, or a software to do it somehow?

Regards:

István from Hungary
Title: Re: Translations to other languages
Post by: LeoNeeson on June 26, 2017, 09:40:05 AM
Currently, the only way to do this is modifying the source code (translating the strings directly there), and compiling again the program. It's not a very easy task (neither too difficult), since you need to have the compiler (Delphi), the additional components (listed on the source code), and there is no guarantees if something fails on compilation time (if you don't know that you are doing).

That's why, I've proposed Rejetto several times to add THIS (http://www.rejetto.com/forum/espanol/pasar-menues-al-castellano/msg1061578/#msg1061578) crucial component, that would allow any end-user to easily translate HFS in any language, as simple as editing a text file and without to have to compile the program. Ask him the current status of adding this component... ;D ::)
Title: Re: Translations to other languages
Post by: rejetto on November 02, 2017, 11:03:24 PM
Leo, Leo, LEEEOOOOO, I finally did it. Can you believe it? :D
Let's make a test, first, to see if everything is ok.
https://drive.google.com/open?id=1aNhV6j2AcmL5XivZNbleU6rLn3atGyuv
Consider this method doesn't cover every bit of text in the app, but we can work in the future to expand the set of translatable strings.
Title: Re: Translations to other languages
Post by: LeoNeeson on November 04, 2017, 09:20:43 PM
WHOAA!!! Finally!! I can't believe it! :D

IT WORKS!! It was worth the wait! I will make some more tests now, and give you a file translated to Spanish in the next few hours or tomorrow (and sorry I didn't check the emails yesterday).

Congrats! :)

-------
> EDIT: It will take me a few days to complete the spanish translation, but every seems to work correctly. If anyone wants to start translating to another language, be sure to use a text editor that supports UTF-8, and not ANSI like the Windows's default notepad. The best editor to get this done is Notepad++ (https://notepad-plus-plus.org/download/) (Choosing from the menu: Encoding > Encode in UTF-8, and from: Language > I > INI file), and then starting translating everything after the "=" symbol, taking care of not breaking anything. If anyone has another freeware utility to edit the file, feel free to leave the suggestion here. Thanks again Rejetto!, I'm very happy to see this added! :D I'm sure all the HFS comunity is also happy!
Title: Re: Translations to other languages
Post by: LeoNeeson on November 24, 2017, 01:44:45 AM
@rejetto: I've sent you a private message with a preliminar spanish translation. (I'm also attaching the translation file here).
Title: Re: Translations to other languages
Post by: SilentPliz on May 22, 2019, 07:05:56 PM
... If anyone has another freeware utility to edit the file, feel free to leave the suggestion here.

Hi ! ;)


Just to say that .lng files can also be conveniently translated with IniTranslator.

https://sourceforge.net/projects/initranslator/

https://sourceforge.net/projects/initranslator/files/latest/download

https://sourceforge.net/projects/initranslator/files/Releases/

 :)
Title: Re: Translations to other languages
Post by: faithklein on December 06, 2019, 07:37:26 AM
Hi ! ;)


Just to say that .lng files can also be conveniently translated with IniTranslator.


 :)

Thanks for the info, much appreciated!