Karma/i18n: Difference between revisions

Km0r3 (talk | contribs)
Km0r3 (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
Line 25: Line 25:
* the arguments to the different calls should be string literals. Otherwise xgettext will not be able to extract the messages to be translated.
* the arguments to the different calls should be string literals. Otherwise xgettext will not be able to extract the messages to be translated.


The lesson examples/6_Maths_matchingAnglesAndShapes/ contains an example.
More resources:
http://forum.jquery.com/topic/locale-information-should-be-separated-from-plugins
http://wiki.jqueryui.com/i18n


====HTML Strings====
====HTML Strings====
Line 34: Line 36:
* Dynamically change out strings per locale on page load (HIGH PRIORITY)
* Dynamically change out strings per locale on page load (HIGH PRIORITY)
* A well-defined workflow
* A well-defined workflow
  * integrate the JavaScript i18n within the workflow.
** integrate the JavaScript i18n within the workflow.
* Documentation.
* Documentation.


I'm still actively working on it. Questions, comments, suggestions > km0r3 AT sugarlabs DOT org .
I'm still actively working on it. Questions, comments, suggestions > km0r3 AT sugarlabs DOT org .