OpenLayers.Lang[“en-CA”] - OpenLayers

# OpenLayers. Lang[“en-CA”]

Dictionary for English-CA. This dictionary inherits from the standard English dictionary. Override only those entries with language specific to the CA region.

Keys for entries are used in calls to OpenLayers.Lang.translate. Entry bodies are normal strings or strings formatted for use with OpenLayers.String.format calls.

> translate: function( | key,
> | context | )

Looks up a key from a dictionary based on the current language string.

> format: function( | template,
> | context,
> | args | )

Given a string with tokens in the form ${token}, return a string with tokens replaced with properties from the given context object.
Close