1. <html>
    
  2. <head>
    
  3.   <script src="/jsi18n_admin/"></script>
    
  4. </head>
    
  5. 
    
  6. <body>
    
  7.   <p id="formats">
    
  8.     <script>
    
  9.     document.write("DATE_INPUT_FORMATS is an " + typeof get_format("DATE_INPUT_FORMATS") + "; ");
    
  10.     document.write("DECIMAL_SEPARATOR is a " + typeof get_format("DECIMAL_SEPARATOR") + "; ");
    
  11.     document.write("FIRST_DAY_OF_WEEK is a " + typeof get_format("FIRST_DAY_OF_WEEK") + ";");
    
  12.     </script>
    
  13.   </p>
    
  14. 
    
  15.   <p id="gettext">
    
  16.     <script>
    
  17.     document.write(gettext("Remove"));
    
  18.     </script>
    
  19.   </p>
    
  20. 
    
  21.   <p id="ngettext_sing">
    
  22.     <script>
    
  23.     document.write(interpolate(ngettext("%s item", "%s items", 1), [1]));
    
  24.     </script>
    
  25.   </p>
    
  26. 
    
  27.   <p id="ngettext_plur">
    
  28.     <script>
    
  29.     document.write(interpolate(ngettext("%s item", "%s items", 455), [455]));
    
  30.     </script>
    
  31.   </p>
    
  32. 
    
  33.   <p id="ngettext_onnonplural">
    
  34.       <!-- The po file only contains the non plural "Image" string. -->
    
  35.       <script>
    
  36.           document.write(interpolate(ngettext("Image", "Images", 5), [1]));
    
  37.       </script>
    
  38.   </p>
    
  39. 
    
  40.   <p id="pgettext">
    
  41.     <script>
    
  42.     document.write(pgettext("verb", "May"));
    
  43.     </script>
    
  44.   </p>
    
  45. 
    
  46.   <p id="npgettext_sing">
    
  47.     <script>
    
  48.     document.write(interpolate(npgettext("search", "%s result", "%s results", 1), [1]));
    
  49.     </script>
    
  50.   </p>
    
  51. 
    
  52.   <p id="npgettext_plur">
    
  53.     <script>
    
  54.     document.write(interpolate(npgettext("search", "%s result", "%s results", 455), [455]));
    
  55.     </script>
    
  56.   </p>
    
  57. 
    
  58. </body>
    
  59. </html>