Langpacks/en: Difference between revisions

From Miranda NG
Langpacks/en
Jump to navigation Jump to search
m (Template renamed)
(Updating to match new version of source page)
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Languages}}{{Todo|lang=en|We need a detailed article about Miranda NG translation (langpacks description and howtos).}}
<languages/>
A '''language pack''' ('''langpack''') is a plain text file named langpack_*.txt which contains translation for all the strings Miranda and plugins use. You need a langpack only if you want to change the language to some other than English. All langpacks should be placed into subfolder "Languages" of your Miranda NG installation.


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


Remove all <tt>langpack_*.txt</tt> files from Miranda NG folder to set the English language for Miranda's interface.
== Installation and usage ==
[[{{Lm|Langpacks - Change}}|200px|thumb|Changing interface language]]
You can install langpacks [[Plugin:PluginUpdater/en#Adding plugins and components|using PluginUpdater]] ({{Menu|Main menu|Available components list}}), or manually by downloading a langpack and extracting the contents of the archive (including Languages folder) into your Miranda main folder.


There is also {{Plugin|LangMan}} plugin to help you manage langpacks of different languages.
To select and apply a langpack out of several ones installed go to {{Menu|Options|Customize|Languages}}.


If there are two or more langpacks in "Languages" folder, Miranda will use the one which comes first alphabetically at startup (e.g., in profile manager). You can specify the default language pack to be loaded at startup in [[mirandaboot.ini/en|Mirandaboot.ini]] by editing '''DefaultLanguage''' parameter under '''[Language]''' section, e.g.:
<pre style="overflow:auto;">
DefaultLanguage=langpack_german.txt
</pre>
{{Anchor|Download}}
== Download ==
== Download ==
Below are the translations that already exist. Unfortunately, they can now be counted on the fingers, and not all of them are correct. But if you want to help - like with an existing translation, or add some other — [[Help:Howto/How to translate langpacks|welcome to Miranda's translators]].
{{Langpack list}}
{{Langpack list}}


== How to translate ==
== See also ==
<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 ==
* [[mirandaboot.ini/en#DefaultLanguage|mirandaboot.ini]]
* [http://tortoisesvn.net TortoiseSVN] – a free Subversion client
* [[Help:Howto/How to translate langpacks|How to translate langpacks]]


[[Category:Main page]]
[[Category:Main pages{{#translation:}}|{{#getdisplaytitle:{{FULLPAGENAME}}}}]]

Latest revision as of 02:00, 10 February 2022

A language pack (langpack) is a plain text file named langpack_*.txt which contains translation for all the strings Miranda and plugins use. You need a langpack only if you want to change the language to some other than English. All langpacks should be placed into subfolder "Languages" of your Miranda NG installation.

Installation and usage

Changing interface language

You can install langpacks using PluginUpdater (Main menu → Available components list), or manually by downloading a langpack and extracting the contents of the archive (including Languages folder) into your Miranda main folder.

To select and apply a langpack out of several ones installed go to Options → Customize → Languages.

If there are two or more langpacks in "Languages" folder, Miranda will use the one which comes first alphabetically at startup (e.g., in profile manager). You can specify the default language pack to be loaded at startup in Mirandaboot.ini by editing DefaultLanguage parameter under [Language] section, e.g.:

DefaultLanguage=langpack_german.txt

Download

Below are the translations that already exist. Unfortunately, they can now be counted on the fingers, and not all of them are correct. But if you want to help - like with an existing translation, or add some other — welcome to Miranda's translators.

See also