Click or drag to resize

Adding New Languages and Phrases

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Adding new phrases

As well as translating or adapting the standard GeoBase phrases, you can also add your own phrases. Phrases can be added to the Directions, Announcements and Strings sections (we recommend that you avoid using any identifiers beginning with 'gb_' so that there is no risk of any clashes with future standard GeoBase phrases), or you can add your own section alongside Directions, Announcements and Strings.

Adding new languages

You can add support for new languages by creating a new directory alongside the standard en-US directory in the GeoBaseResources\langs folder. The new directory should include a lang.xml file for the new language, and any .wav files that are required.

Note Note

To simplify debugging of lang.xml files, the Navigator example application included in the GeoBase SDK (accessible by navigating to Start | All Programs | Verizon Connect GeoBase Developer's Kit | Example Applications | Navigator) includes an 'English (US) - Debug Mode' language option. This setting is accessible by clicking the Settings menu option in the application and adjusting the 'Language:' dropdown list.

When set to 'English (US) - Debug Mode', errors in the lang.xml file located in the GeoBaseResources\langs\en-US folder (with the appropriate en-US Culture and Desc tags) will cause an exception to be thrown. When set to 'English (US)', errors in the xml file will be ignored (if possible).