[OpenLayers-Trac] [OpenLayers] #109: Pull all strings out and into a single js file for localization

OpenLayers trac at openlayers.org
Fri Feb 15 16:15:48 EST 2008


#109: Pull all strings out and into a single js file for localization
-----------------------+----------------------------------------------------
  Reporter:  euzuro    |       Owner:  tschaub    
      Type:  task      |      Status:  closed     
  Priority:  minor     |   Milestone:  2.6 Release
 Component:  general   |     Version:  2.3        
Resolution:  fixed     |    Keywords:             
     State:  Complete  |  
-----------------------+----------------------------------------------------
Changes (by tschaub):

  * status:  assigned => closed
  * state:  Commit => Complete
  * resolution:  => fixed

Comment:

 (In [6313]) Adding framework for internationalization support.  The new
 OpenLayers.Lang.translate method takes a key and looks for a value in a
 dictionary based on the current language setting.  Set a new language code
 with OpenLayers.Lang.setCode.  Get the current code with
 OpenLayers.Lang.getCode.  Thanks to Mike Adair for the lead on this one.
 r=ahocevar,me (closes #109)

-- 
Ticket URL: <http://trac.openlayers.org/ticket/109#comment:17>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list