Page tree

Versions Compared

Key

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

...

You need to identify the scripts needed for the translation process and to bring together all the needed data.  The needed language pack versions are:

...

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.