> 10/14/2014 English (US) > 14/10/2014 French Pedantic Englishman here: 14/10/2014 is used all over Europe, including England. If only we could persuade the world to use an international format: 2014-10-14, for example.
FormatJS – Internationalize your web apps on the client and server
31–39 of 39 posts
Re: FormatJS – Internationalize your web apps on the client and server
#32The official announcement is now live: http://yahooeng.tumblr.com/post/100006468771/announcing-form... hopefully it will help to clarify few of the questions...
Re: FormatJS – Internationalize your web apps on the client and server
#33Earlier quoted context omitted.
Yeah, for a simple plural that can be a bit longer. In other languages, though, the pluralization rules get rather complicated[1]. (For example, Arabic has both complicated pluralization rules -and- a lot of people who speak it.) The strength of the ICU message format, in my mind, is that the messages can be "nested" so that the translation can be customized for multiple concerns (plural, gender, whatever). Also, wit…
Nice, I didn't know that about Arabic, and the many other languages. Though i18n-js does let you write your own pluralizations rules (taken from the readme), while supporting zero/one/many out of the box: I18n.pluralization["ru"] = function (count) { var key = count % 10 == 1 && count % 100 != 11 ? "one" : [2, 3, 4].indexOf(count % 10) >= 0 && [12, 13, 14].indexOf(count % 100) = 0 || [11, 12, 13, 14].indexOf(count %…
Re: FormatJS – Internationalize your web apps on the client and server
#34Same goes for measurement systems (metric), time, currency, and other formats. I reckon it would simplify our lives greatly and spare us the trouble of dealing with 1000s of encodings, multi-byte strings and different text directions.
Technological landscape is the only place where such unity between nations is possible, I tend to think that this is what should be pursued instead of translate-everything-everywhere approach.
Re: FormatJS – Internationalize your web apps on the client and server
#35A related thought: I wonder if we will some day live in a world where translation is not required. Where everyone knows English and has no trouble using English tools and consuming English content. Same goes for measurement systems (metric), time, currency, and other formats. I reckon it would simplify our lives greatly and spare us the trouble of dealing with 1000s of encodings, multi-byte strings and different text…
Re: FormatJS – Internationalize your web apps on the client and server
#36A related thought: I wonder if we will some day live in a world where translation is not required. Where everyone knows English and has no trouble using English tools and consuming English content. Same goes for measurement systems (metric), time, currency, and other formats. I reckon it would simplify our lives greatly and spare us the trouble of dealing with 1000s of encodings, multi-byte strings and different text…
What makes you think it won't be Chinese?
Re: FormatJS – Internationalize your web apps on the client and server
#37Earlier quoted context omitted.
What makes you think it won't be Chinese?
The fact that English is easier to learn :)
edit: Looking at the EF English Proficiency Index[1], English doesn't seem quite as universal as it feels like in the Anglosphere anyway.
[1]: http://en.wikipedia.org/wiki/EF_English_Proficiency_Index
Re: FormatJS – Internationalize your web apps on the client and server
#38Earlier quoted context omitted.
What makes you think it won't be Chinese?
The fact that English is easier to learn :)
The last one actually is sometimes called "little chinese boy" in circles of language tutors due to how young children can easily pick up languages different from their native one due to lack of bias. My cousin thats 5 years old now is already dual-languaged due to her parents exposing her to their native languages at all times.
Re: FormatJS – Internationalize your web apps on the client and server
#39Earlier quoted context omitted.
The fact that English is easier to learn :)
It's only "fact" because you are accustomed to latin alphabet and you are native speaker of language that was either latin-influenced, shares root with English, or you were taught it since you were child. The last one actually is sometimes called "little chinese boy" in circles of language tutors due to how young children can easily pick up languages different from their native one due to lack of bias. My cousin that…