<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi all,<br>
    <br>
    I've done a quick comparison between the two and decided to go for
    the jquery.i18n.properties , simply because I don't understand the
    gettext() approach and there is no documentation ;). <br>
    I've put my first attempt here:
    <a class="moz-txt-link-freetext" href="https://gitorious.org/~edugis/mapquery/edugiss-vmx-mapquery">https://gitorious.org/~edugis/mapquery/edugiss-vmx-mapquery</a><br>
    <br>
    The idea is that in the end all texts are replaced with
    $.i18n.prop("text") and the texts are moved to
    bundle/Messages.properties and for each locale to
    bundle/Messages_cc(_CC).properties <br>
    Right now I'm aiming at being able to change locale by reloading the
    entire page. Somewhere in the future it would be nice to be able to
    change locale without reloading the entire page though.<br>
    <br>
    Regards,<br>
    Steven<br>
    <br>
    On 5/24/2011 3:43 PM, Steven M. Ottens wrote:
    <blockquote cite="mid:4DDBB617.2040108@minst.net" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      Hi all,<br>
      <br>
      I've to implement multi-lingual support for my mapquery based
      webapp. Apparently there is no default i18n/L10n support for
      jQuery/jQuery-ui. So I've to choose something to work with.
      Looking at the various plugins available I'm pondering using<br>
      either:<a moz-do-not-send="true"
        href="http://plugins.jquery.com/project/jquery_i18n_properties">
        http://plugins.jquery.com/project/jquery_i18n_properties</a>
      (.properties based)<br>
      or:<a moz-do-not-send="true"
        href="http://plugins.jquery.com/project/gettext">
        http://plugins.jquery.com/project/gettext</a> (.po based)<br>
      <br>
      Has anyone used any of them, have a preference or have a different
      suggestion?. If not I'll try both and see what I like best.<br>
      <br>
      regards,<br>
      Steven<br>
      <pre class="moz-signature" cols="72">-- 
Steven M. Ottens
Senior Ux Designer 
-------------------------------------
Geodan S&amp;R
President Kennedylaan 1
1079 MB Amsterdam (NL)
-------------------------------------
Tel: +31 (0)20 - 5711 315
Fax: +31 (0)20 - 5711 333
-------------------------------------
E-mail: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:steven.ottens@geodan.nl">steven.ottens@geodan.nl</a>
Website: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.geodan.nl">www.geodan.nl</a>
KvK-nummer: 33 247475
Disclaimer: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.geodan.nl/disclaimer">www.geodan.nl/disclaimer</a>
------------------------------------- </pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
MapQuery mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MapQuery@lists.osgeo.org">MapQuery@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapquery">http://lists.osgeo.org/mailman/listinfo/mapquery</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>