Page tree

Language localization in VoipNow can be done with the help of a set of files, called language pack scripts. These scripts define the text displayed in the VoipNow interface or in the API messages.

Although you do not have to know professional programming to be able to perform a proper translation, you will still need some basic scripting skills and basic understanding of the VoipNow functionality and terminology. The language pack set contains 5 scripts. The usage of these scripts is described in two sections, depending of what do you want to do: create a new translation or upgrade an existing translation.

Before you start you should read more about the VoipNow language pack components and, the most important, the translating rules.

lpverkeydiff.php

Produces diff language packs containing differences from one version to another. The script will be given 2 language pack versions as arguments (the old version and the new version) and will create a folder structure identical to the new version's structure, containing only the new keys and the modified keys.

lpvalidatepack.php

Validates and builds the new language pack into a new language. The script will be given a reference language pack and a translated structure and will create a zip archive containing the translated language pack.

lpmerge.php

Merges a new translation language pack with an older translation language pack. The script will be given a reference language pack, an old translated structure and a new translated structure. The script will then create a file or folder structure similar to that of the reference language pack, containing the translated keys from the two translated structures.

lpreplicate.php

Will generate a language folder replica for the language specified by the code given as argument.

lpfunctions.php

Contains the set of functions used in the scripts above.

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))

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