[OpenLayers-Dev] Is there an OL application which demonstrates
the context in which the OL translations are used?
tschaub at opengeo.org
Mon Jun 22 17:08:17 EDT 2009
Ævar Arnfjörð Bjarmason wrote:
> Hi, I'd like to add a new translation to OpenLayers (under
> lib/OpenLayers/Lang/). But to do it properly I'd like to see the
> translations in the context in which they are used.
> Is there an application OpenLayers that triggers the various
> errors/dialogs etc. that end up showing these messages? Or do
> potential translators need to browse the source to try to figure out
> in what context some of the more obscure ones are used?
Thanks for the offer to help with translation.
We currently use a global dictionary for translation (as you have seen)
instead of a dictionary per class (or otherwise). The easiest way to
see where specific keys are used is probably to search the lib for
Others may have other suggestions.
> en.js for reference:
> Dev mailing list
> Dev at openlayers.org
OpenGeo - http://opengeo.org
Expert service straight from the developers.
More information about the Dev