Qdig»Internationalization

Qdig Localization and Internationalization

Qdig has had some language settings for a long time. Recently external language files have become possible. This capability is new and experimental so it might not work perfectly yet. Specifically, some of the language-related settings may change prior to the upcoming 1.3.0 or 2.0 stable release.

Most of the files on this page are for the beta (qdig-devel) series that will eventually become the next major Qdig release (1.3.0 / 2.0).

Translating a Language File

To create an external language settings file, change the settings in your copy of Qdig and then run this Bash shell script (view the .txt version) to extract the language settings.

To use the mkLangFile.sh script,

  • Change the language settings in your copy of Qdig.
  • Edit the shell script to set your language code.
  • Run the script to create your language settings file.
  • Edit the Qdig script to include() the language file by uncommenting and editing a line at the end of Qdig's settings.
    @include_once('./lang-xx.php');

If you cannot run the shell script you can use the following language settings file.

http://qdig.sourceforge.net/qdig/i18n/lang-en.php.txt

To use it,

  • Save the file.
  • Apply your language settings.
  • Rename the file to your country code and remove .txt.
  • Edit the Qdig script to include() the language file by uncommenting and editing a line at the end of Qdig's settings.
    @include_once('./lang-xx.php');

User-Contributed Language Files

You can save others some work if you contribute a lang-xx.php file to the project. Thanks for contributing!

Czech

Jakub Ďurovec has contributed a Czech translation file for Qdig 1.2.9
http://qdig.sourceforge.net/qdig/i18n/lang-cs.php.txt

Finnish

Ari Takku of Finland has contributed a Finnish translation for Qdig 1.2.x.
http://qdig.sourceforge.net/qdig/i18n/lang-fi.php.txt

German

Martin Weis has contributed a German translation for Qdig 1.2.x.
http://qdig.sourceforge.net/qdig/i18n/lang-de.php.txt