Actions

Translations

Translating LimeSurvey/7/en: Difference between revisions

From LimeSurvey Manual

(Importing a new version from external source)
(Importing a new version from external source)
 
Line 1: Line 1:
Sometimes you want to modify an existing translation so it accommodates your particular survey situation better. In that case, do the following:
Sometimes you might want to modify an existing translation so it accommodates your particular survey situation better. In that case, do the following:
#Go to [https://translate.limesurvey.org https://translate.limesurvey.org], pick the LimeSurvey version you want to translate for and the particular language you want to modify.
#Go to [https://translate.limesurvey.org https://translate.limesurvey.org], pick the LimeSurvey version you want to translate and the particular language you want to modify.
#On the bottom of the translation page you will find an option to export all strings as *.po file. Do that and save it as *.po file to your local hard-disk:<br />[[File:export_po_file.png]]
#On the bottom of the translation page you will find an option to export all strings as *.po file. Click on the export and save it as *.po file to your local hard-disk:<br />[[File:export_po_file.png]]
#Download and install [http://www.poedit.net/download.php Poedit].
#Download and install [http://www.poedit.net/download.php Poedit].
#Start Poedit and edit the downloaded *.po file - modify the particular translations.
#Start Poedit and edit the downloaded *.po file - modify the particular translations.
#When you save the *.po file, a *.mo file is automatically created. That is the one LimeSurvey will read from.
#When you save the *.po file, a *.mo file is automatically created. The latter will be read by LimeSurvey.
#The last step is to place the particular *.mo file in the right language folder in /locale by replacing the existing one.
#The last step is to place the particular *.mo file in the right language folder in /locale by replacing the existing one.
{{Note|For example, the location for French would be <LimeSurvey_root_directory>/locale/fr/LC_MESSAGES/fr.po.}}
{{Note|For example, the location for French would be <LimeSurvey_root_directory>/locale/fr/LC_MESSAGES/fr.po.}}

Latest revision as of 16:10, 17 October 2017

Message definition (Translating LimeSurvey)
Sometimes you might want to modify an existing translation so it accommodates your particular survey situation better. In that case, do the following:
#Go to [https://translate.limesurvey.org https://translate.limesurvey.org], pick the LimeSurvey version you want to translate and the particular language you want to modify.
#On the bottom of the translation page you will find an option to export all strings as *.po file. Click on the export and save it as *.po file to your local hard-disk:<br />[[File:export_po_file.png]]
#Download and install [http://www.poedit.net/download.php Poedit].
#Start Poedit and edit the downloaded *.po file - modify the particular translations.
#When you save the *.po file, a *.mo file is automatically created. The latter will be read by LimeSurvey.
#The last step is to place the particular *.mo file in the right language folder in /locale by replacing the existing one.
{{Note|For example, the location for French would be <LimeSurvey_root_directory>/locale/fr/LC_MESSAGES/fr.po.}}

Sometimes you might want to modify an existing translation so it accommodates your particular survey situation better. In that case, do the following:

  1. Go to https://translate.limesurvey.org, pick the LimeSurvey version you want to translate and the particular language you want to modify.
  2. On the bottom of the translation page you will find an option to export all strings as *.po file. Click on the export and save it as *.po file to your local hard-disk:
  3. Download and install Poedit.
  4. Start Poedit and edit the downloaded *.po file - modify the particular translations.
  5. When you save the *.po file, a *.mo file is automatically created. The latter will be read by LimeSurvey.
  6. The last step is to place the particular *.mo file in the right language folder in /locale by replacing the existing one.
For example, the location for French would be <LimeSurvey_root_directory>/locale/fr/LC_MESSAGES/fr.po.