Cave View - Translation

Version 1.6 onwards allows the interface to be localised. CaveView will check for a configuration property 'language' or if this is not defined use the two character prefix of the language code of the user's browser to determine a language file to be loaded.

Given a language code <xx>, CaveView will attempt to load a language file CaveView/lib/lang-<xx>.json

An example language file CaveView/Lib/lang-template.json is provided. Note: because loading an alternative language file is asynchronous, there may be a small delay before a language file is visible.

Note: the file must be a strictly formatted JSON file. All property names and values must be quoted with ".