2014-01-27 13:57:33 +04:00
|
|
|
# Windows Installer Translations
|
|
|
|
|
|
|
|
## Introduction
|
|
|
|
|
|
|
|
Translations on transifex: http://www.transifex.com/projects/p/owncloud/resource/mirall-wininstaller/
|
2014-01-27 13:59:39 +04:00
|
|
|
|
2014-01-27 13:57:33 +04:00
|
|
|
Daily sync job: https://ci.owncloud.org/view/translation-sync/job/translation-sync-mirall-wininstaller/
|
|
|
|
|
|
|
|
## How to add a new translation string?
|
|
|
|
|
2014-02-05 14:58:53 +04:00
|
|
|
0. Add the string to the pofiles/messages.pot manually. This step is necessary
|
2014-01-27 13:57:33 +04:00
|
|
|
for the upload of strings to be translated to transifex
|
|
|
|
|
2014-02-05 14:58:53 +04:00
|
|
|
1. Run bin/l10n.sh to properly generate declarations.nsh and English.nsh
|
|
|
|
|
2014-01-27 13:57:33 +04:00
|
|
|
2. If you want to test your installer right away you need to add the new string
|
|
|
|
at least to l10n/English.nsh
|
|
|
|
|
|
|
|
|
|
|
|
## How to add a new language?
|
|
|
|
|
|
|
|
0. Add the new language to l10n/.tx/config which holds the explicit list of
|
|
|
|
languages to be downloaded from transifex on each translation sync run.
|
|
|
|
|
|
|
|
1. Add the new language to l10n/languages.nsh
|
|
|
|
|
|
|
|
2. In NSIS.template.in the language has to be added in the macro SETLANG.
|
|
|
|
|