Earlier quoted context omitted.
Ahoj! :) This is a perfect article that always comes to mind when talking pluralization: https://metacpan.org/pod/distribution/Locale-Maketext/lib/Lo... We Czechs have it easy!
Great article! I'm always impressed by the thought going into Perl libraries. There was a presentation years ago, how Perl handled Unicode right and every other programming language didn't (with Python 3 pretty close, IIRC). Does anyone remember the URL?
Fluent 1.0: a localization system for natural-sounding translations
31–40 of 117 posts
Re: Fluent 1.0: a localization system for natural-sounding translations
#32Earlier quoted context omitted.
Ahoj! :) This is a perfect article that always comes to mind when talking pluralization: https://metacpan.org/pod/distribution/Locale-Maketext/lib/Lo... We Czechs have it easy!
Great article! I'm always impressed by the thought going into Perl libraries. There was a presentation years ago, how Perl handled Unicode right and every other programming language didn't (with Python 3 pretty close, IIRC). Does anyone remember the URL?
Re: Fluent 1.0: a localization system for natural-sounding translations
#33In the Czech example, how is it obvious that `few` stands for 2, 3, 4? Is that just how the concept of "few" (note the English term) is defined and understood by all Cezch speakers and thus this language specific meaning is encoded by Mozilla to map to the range 2-4? My point is that while there might be a concept of "few" that does map uniquely to that range, I am not sure naming the keyword "few" is the right name…
Re: Fluent 1.0: a localization system for natural-sounding translations
#34One thing that I've always struggled w.r.t i18n is having to split messages up into often times less coherent chunks in order to add things like links or tooltips or styling elements in the middle of the text, which makes it more difficult to localize messages as a holistic piece independent of the source language. For a slightly contrived example to demonstrate this, let's say you have a string like this: "Please cl…
More and more, I'm starting to think maybe plain text isn't always the best abstraction to be using for defining messages for i18n. If messages were to be defined in terms of whatever primitive you're using to build your UI (i.e. React components if you're using React, and raw html template nodes if you're working with plain html), then all of this impedance mismatch might disappear. In the React case, a component or…
I've found this really hard. At my last place we just ate the cost (and ugliness) of included HTML in this strings and dangerously inserting them into the page.
Re: Fluent 1.0: a localization system for natural-sounding translations
#35Re: Fluent 1.0: a localization system for natural-sounding translations
#36Re: Fluent 1.0: a localization system for natural-sounding translations
#37Looking at the examples, it looks like something like messageformat ( https://messageformat.github.io/messageformat/ ) would have been a good solution to them. We've been using this at my job and we are very happy with the flexibility it provides. The hard part comes when a third party has to do the translations because someone from tech needs to be involved.
Re: Fluent 1.0: a localization system for natural-sounding translations
#38Looking at the examples, it looks like something like messageformat ( https://messageformat.github.io/messageformat/ ) would have been a good solution to them. We've been using this at my job and we are very happy with the flexibility it provides. The hard part comes when a third party has to do the translations because someone from tech needs to be involved.
From the article: "Many key ideas in Fluent have also been inspired by XLIFF and ICU’s MessageFormat."
Re: Fluent 1.0: a localization system for natural-sounding translations
#39Earlier quoted context omitted.
How much money is a company losing because its Korean string is nonsense?
Think about how often the english documentation coming with cheap products from china is mocked - do you really want your professional output to be treated in the same regard?