Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated using 4PSA automated script

...

STEP 3: Outside the VoipNow structure, create a special directory for your work, and execute the translations steps. For example:

Shell

cd /usr/local/voipnow/bin/langutils
mkdir translation
cd translation

STEP 4: Copy the English language pack of the version for which you already have a translation. To do so, log in to your 4PSA Business Zone account, go to the Translators Zone and download the English file from the English. Then copy our Github repository, then copy it on the server and untar the downloaded file in a folder with a suggestive called foldername.

STEP 5: Copy your older translated version of the language pack in the working directory.

...

STEP 1: Run the lpverkeydiff.php script to obtain the differences from the previous version. Type:

Shell
php /usr/local/voipnow/bin/langutils/lpverkeydiff.php \
-o <path_to_old_language_pack_version_in_english> \
-n <path_to_new_lp_version_in_english>
For our example, the command is:
Shell

cd /usr/local/voipnow/bin/langutils/translation
php /usr/local/voipnow/bin/langutils/lpverkeydiff.php -o 253en -n en

The following message will be displayed in the console:
Shell

A changelog has been created in /usr/local/voipnow/bin/langutils/translation/change.log

You can copy the folder with the differences between the language pack versions from /usr/local/voipnow/bin/langutils/translation/language_diff_folder

STEP 2:  Translate the language keys. The keys you should translate are located in the /usr/local/voipnow/bin/langutils/translation/language_diff_folder/language/en folder. The general folder structure is described here.

...

Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.