Langpacks/en: Difference between revisions

From Miranda NG
Langpacks/en
Jump to navigation Jump to search
No edit summary
('How to translate' section moved to Howtos)
Line 6: Line 6:


== See also==
== See also==
*[[mirandaboot.ini/en|mirandaboot.ini]], entry '''[Language]: DefaultLanguage'''
* [[mirandaboot.ini/en|mirandaboot.ini]], entry '''[Language]: DefaultLanguage'''
* [[Help:Howto/How to translate langpacks|How to translate langpacks]]
<!--
<!--


Line 14: Line 15:
{{Langpack list}}
{{Langpack list}}


== How to translate ==
<div style="overflow:auto; height:auto;">
{{Message|message=You are expected to have the whole Miranda NG SVN checked out – if you don't want the whole repository, you need at least both '''langpacks''' and '''tools''' folders in the same folder on your disk.'''}}
</div>
'''Notes:'''
* All files of your langpack must be saved in UTF-8 codepage
* <tt>Refresh.bat</tt> must be started from <tt>/langpacks/<language>/</tt> folder
* Final <tt>langpack_<language>.txt</tt> is automatically created after running <tt>Refresh.bat</tt>
=== Creating a new langpack ===
# Create new folder for langpack in <tt>/langpacks/</tt> folder
# Create subfolders there: <tt>Plugins</tt>, <tt>Untranslated</tt> and file <tt>=HEAD=.txt</tt> (see the existing langpacks to know what should be in this file)
# Take an old langpack file (e. g. from Miranda IM, it must be previously converted to UTF-8) and put it somewhere (e. g. into new subfolder <tt>Deprecated</tt>) (optional)
# Copy <tt>Refresh.bat</tt> from <tt>/langpacks/czech/</tt> and edit it – change "czech" to name of your langpack folder and change path to the old langpack (if exists)
# Run <tt>Refresh.bat</tt> – it will create all files which will now contain translation from your old langpack (or empty translations when you have no old langpack)
=== Updating langpack ===
# Write your translations into <tt>=CORE=.txt</tt> file and files inside <tt>Plugins</tt> folder (don't touch <tt>Untranslated</tt> folder, those files have only informative character of what translations are missing)
# Run <tt>Refresh.bat</tt> which will redistribute your changes to other files
=== After english langpack update ===
# Run <tt>Refresh.bat</tt> which will apply changes to your files
# Use TortoiseSVN / ''Check for modifications'' context menu item and check changed files there to easily correct typos or translation changes
# Run <tt>Refresh.bat</tt> which will redistribute your changes to other files
== External links ==
* [http://tortoisesvn.net TortoiseSVN] – a free Subversion client


[[Category:Main page]]
[[Category:Main page]]

Revision as of 11:52, 12 July 2014

Todo [en]: We need a detailed article about Miranda NG translation (langpacks description and howtos).

To change Miranda's interface language you need to put a langpack into Languages subfolder in main Miranda NG folder and restart the program. A language pack (langpack) is a plain text file named langpack_*.txt which contains translation for all the strings Miranda and plugins use.

Remove all langpack_*.txt files from Miranda NG folder to set the English language for Miranda's interface.

See also

Download