intl.html revision 628b3b052ecff4d1843c7e919951413fbc03e79f
2058N/A var b = Y.Node.one("body");
2058N/A b.append("<p>Lookup Best Match:" + Y.Intl.lookupBestLang("fr-CA", ["en-US", "en-GB", "fr"]) + "</p>");
2058N/A Y.Intl.after("intl:langChange", function(e) {
3661N/A Y.Intl.add("mystrings", "en-US", {
2058N/A Y.Intl.add("mystrings", "fr", {
2058N/A Y.Intl.add("mystrings", "ja-JP", {
3778N/A // Intended to be called through Y.use() [ Y.use will pull down the bundle if it's not loaded, or just call _setLang ]
2058N/A Y.Intl._setLang("mystrings", "fr");