Help:Howto/How to translate langpacks
Jump to navigation
Jump to search
Todo [en]: Needs revision.
How to translate
You are expected to have the whole Miranda NG SVN checked out http://svn.miranda-ng.org/main/trunk If you don't want the whole repository, you need at least both langpacks and tools folders in the same folder on your disk.
Notes:
- All files of your langpack must be saved in UTF-8 codepage
- Refresh.bat must be started from /langpacks/<language>/ folder
- Final langpack_<language>.txt is automatically created after running Refresh.bat
Creating a new langpack
- Create new folder for langpack in /langpacks/ folder
- Create subfolders there: Plugins, Untranslated and file =HEAD=.txt (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 Deprecated) (optional)
- Copy Refresh.bat from /langpacks/czech/ and edit it – change "czech" to name of your langpack folder and change path to the old langpack (if exists, leave empty otherwise)
- Run Refresh.bat – 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 =CORE=.txt file and files inside Plugins folder (don'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
External links
- TortoiseSVN – a free Subversion client