Translate by Language compiler makelng.exe & Everything.lng
Translate by Language compiler makelng.exe & Everything.lng
Why this method was chosen to translate Everything?
Instead of translating directly from TXT/INI files, Language files under Lang folder
Instead of translating directly from TXT/INI files, Language files under Lang folder
Re: Translate by Language compiler makelng.exe & Everything.
To reduce the size of Everything.Why this method was chosen to translate Everything?
To improve loading times.
Re: Translate by Language compiler makelng.exe & Everything.
Is it easy to make "Translation Mode", so that Everything will load translation directly from TXT file?
Maybe something like:
This may help a lot to ease the translation process.
Maybe something like:
Code: Select all
Everything.exe -TranslationFromTXT
Re: Translate by Language compiler makelng.exe & Everything.
Is it easy to make "Translation Mode", so that Everything will load translation directly from TXT file?
It is easy, but I doubt I would add a translation mode as it requires adding the makelng compiler into Everything.
The makelng compiler contains a lot of string names which would drastically increase the size of Everything.
I recommend running Everything from a bat file, just call makelng.exe before running Everything:
Everything.bat
Note: make sure makelng.exe and your Template.txt are in the same location as Everything.exe.
or modify your bat file to run makelng in another directory and copy the compiled Everything.lng to the Everything folder.
It is easy, but I doubt I would add a translation mode as it requires adding the makelng compiler into Everything.
The makelng compiler contains a lot of string names which would drastically increase the size of Everything.
I recommend running Everything from a bat file, just call makelng.exe before running Everything:
Everything.bat
Code: Select all
makelng.exe
Everything.exe
or modify your bat file to run makelng in another directory and copy the compiled Everything.lng to the Everything folder.
Re: Translate by Language compiler makelng.exe & Everything.
I tried it.
It still not so convenient. In addition, each time running the bat you receive a message from making.exe, and this message pausing the bat.
I think the best from the side of translator, is to get it in the following way:
1. He will open Everything
2. He will open Template.txt
3. Now, while those 2 windows are always open, he will edit the Template.text, Ctrl+S for saving (there is no need to close the Template window), Go to Everything window, and will have a ShortcutKey/Button to Restart Everything.
4. See changes... Editing again, Ctrl+s, Restart Everything... <<<
Since the size or performance are not important for translating, maybe a special EXE file like EverythingTranslating.EXE is the best solution.
It still not so convenient. In addition, each time running the bat you receive a message from making.exe, and this message pausing the bat.
I think the best from the side of translator, is to get it in the following way:
1. He will open Everything
2. He will open Template.txt
3. Now, while those 2 windows are always open, he will edit the Template.text, Ctrl+S for saving (there is no need to close the Template window), Go to Everything window, and will have a ShortcutKey/Button to Restart Everything.
4. See changes... Editing again, Ctrl+s, Restart Everything... <<<
Since the size or performance are not important for translating, maybe a special EXE file like EverythingTranslating.EXE is the best solution.
Re: Translate by Language compiler makelng.exe & Everything.
A silent mode for makelng.exe would help for now.
I've added this to my TODO List.
Something like:
Everything.bat
When you exit Everything with File -> Exit (Ctrl + Q), it would restart after recompiling the language pack..
I've added this to my TODO List.
Something like:
Everything.bat
Code: Select all
:start
makelng /silent
Everything.exe
goto start
Re: Translate by Language compiler makelng.exe & Everything.
I found License.txt file existence makes problem with the the translation process (makelng.exe), till I deleted the License.txt file.
Apart from that, it looks it works, it's great, thanks.
Apart from that, it looks it works, it's great, thanks.
Re: Translate by Language compiler makelng.exe & Everything.lng
Currently, the user (translator) must quit Everything before running the batch.
Running the batch while Everything is running, leads to endless new instances.
Is it possible to improve the batch code so that it won't do any harm if running it while Everything is already running?
Running the batch while Everything is running, leads to endless new instances.
Is it possible to improve the batch code so that it won't do any harm if running it while Everything is already running?
Re: Translate by Language compiler makelng.exe & Everything.lng
Please try using the -exit command line option to ensure no Everything is running:Is it possible to improve the batch code so that it won't do any harm if running it while Everything is already running?
Code: Select all
Everything.exe -exit
:start
makelng -s
Everything.exe
goto start
Re: Translate by Language compiler makelng.exe & Everything.lng
This batch code is just great,
except that Everything window loses its focus when I does Ctrl+Q. Everything quit and restart, but after restart it's not the active window, and you need to switch to Everything window manually each time.
Is there a way to make Everything window become Active again after pressing Ctrl+Q?
except that Everything window loses its focus when I does Ctrl+Q. Everything quit and restart, but after restart it's not the active window, and you need to switch to Everything window manually each time.
Is there a way to make Everything window become Active again after pressing Ctrl+Q?
Re: Translate by Language compiler makelng.exe & Everything.lng
Windows will block Everything from becoming the foreground because the bat file loses the foreground window.
You might like to try restarting Everything after compiling a new language file:
Recompile your Everything.lng
Type in the following search and press ENTER:
/restart
I'll consider adding a restart keyboard shortcut option to Everything.
You might like to try restarting Everything after compiling a new language file:
Recompile your Everything.lng
Type in the following search and press ENTER:
/restart
I'll consider adding a restart keyboard shortcut option to Everything.