i18n - sgml/signature GitHub Wiki

JSON Modeling

{ condition: 'English', true: { result: 'Hello!' }, false: { result: 'Allo!' } }

Global Traffic

cj.com akamai.com webex.com slack.com builtwith.com afp.com jsonlint.com mediawiki.org hanselman.com herokuapp.com

References

https://locize.com/

https://www-01.ibm.com/support/docview.wss?uid=swg27012043&aid=1

https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/nls/rbagsmstpdf.pdf

https://www.tutorialspoint.com/what-is-common-locale-data-repository-cldr-in-java-9

https://www.w3.org/TR/international-specs/

http://unicode.org/reports/tr36/

https://stackoverflow.com/questions/43097087/how-to-remove-non-text-chars-from-string-php

https://en.wikipedia.org/wiki/Emoji_domain

https://fusionjs.com/api/fusion-plugin-i18n-react/

Language Neutral Date and Time Formatting in PHP via the MessageFormatter class:

<?php // Setting parameters $time = time(); $values = [7, $time, $time]; // Prints "At 3:50:31 PM on Apr 19, 2015, there was a disturbance on planet 7." $pattern = "At {1, time} on {1, date}, there was a disturbance on planet {0, number}."; $formatter = new MessageFormatter("en_US", $pattern); echo $formatter->format($values); // Prints "À 15:53:01 le 19 avr. 2015, il y avait une perturbation sur la planète 7." $pattern = "À {1, time} le {1, date}, il y avait une perturbation sur la planète {0, number}."; $formatter = new MessageFormatter("fr_FR", $pattern); echo $formatter->format($values); ?>

ICU4J Plurality for Scala via the MessageFormat class:

import com.ibm.icu.text.MessageFormat import java.util.Locale import scala.collection.JavaConverters._ // Outputs "A common message for all options. Selected: (other)" val formatted = new MessageFormat( "{messageCount, plural, one {{aMessage} (one)} other {{aMessage} (other)} }", new java.util.Locale("en_US") ).format(Map( "messageCount" -> 900, "aMessage" -> "A common message for all options. Selected: " ).asJava)