Langpacks/en: Difference between revisions

From Miranda NG
Langpacks/en
Jump to navigation Jump to search
No edit summary
(Updating to match new version of source page)
 
(25 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Languages}}
<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.


{{Todo|We need a detailed article about Miranda NG translation.}}
__TOC__
<!-- Langpacks description and howtozez -->


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


Remove all <tt>langpack_*.txt</tt> files from Miranda NG folder to set the English language for Miranda's interface.
To select and apply a langpack out of several ones installed go to {{Menu|Options|Customize|Languages}}.


There is also {{Plugin|LangMan}} plugin to help you manage langpacks of different 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 ==
{{Langpacks list}}


== How to translate ==
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]].
<div style="overflow:auto; height:auto;">
{{Langpack list}}
{{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:'''
== See also ==
* 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 ===
* [[mirandaboot.ini/en#DefaultLanguage|mirandaboot.ini]]
# Create new folder for langpack in "langpacks" folder
* [[Help:Howto/How to translate langpacks|How to translate langpacks]]
# 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>)
# 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
# Run <tt>Refresh.bat</tt> – it will create all files which will now contain translation from your old langpack


=== Updating langpack ===
[[Category:Main pages{{#translation:}}|{{#getdisplaytitle:{{FULLPAGENAME}}}}]]
# Write your translations into =CORE=.txt file and files inside Plugins folder (dont't touch Untranslated folder, those files have only informative character of what translations are missing)
# Run Refresh.bat which will redistribute your changes to other files
 
=== After english langpack update ===
# Run Refresh.bat 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 Refresh.bat which will redistribute your changes to other files

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