News for hackers. Stuff that matters.
Re:Fluent 1.0: a localization system for natural-sounding tr... by madeofpalk on Wednesday April 17, 2019 @07:18AM (#19681521)
The problem here is tooling and workflows. Often you'll be using a SaaS product to manage translations, like Lokalise or similar products. At the end of the day, these just give you a whole bunch of strings to put in your app.

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 tr... by pas on Thursday April 18, 2019 @09:55AM (#19691007)
That's always a problem, even with templates. Angular does sanitization. Which is of course not ideal from a runtime performance point, but they probably weighted the cost-benefit and found it to be an okay trade-off.

Though if the i18n string files are present at build time, then this sanitization step could be done there.

Re:Fluent 1.0: a localization system for natural-sounding tr... by michaelmior on Wednesday April 17, 2019 @09:04AM (#19682142)
Definitely a problem. I think what will really make Fluent take off is if someone can provide good translation tools and workflow. The syntax looks great, but for most projects, I suspect it's impractical to expect translators to write Fluent manually.
Re:Fluent 1.0: a localization system for natural-sounding tr... by stasm on Wednesday April 17, 2019 @10:44AM (#19682994)
Our goal was to design a simple DSL which is easy to read and make small edits to. Copying and pasting is a powerful learning method :)

We're also working on creating richer and more streamlined authoring experience in Pontoon, Mozilla's translation management system. You can read about the current state of Fluent support in Pontoon in my colleague's post at https://blog.mozilla.org/l10n/2019/04/11/implementing-fluent....

Re:Fluent 1.0: a localization system for natural-sounding tr... by michaelmior on Wednesday April 17, 2019 @11:33AM (#19683462)
Cool! That looks like a great start :) I don't really do any l10n work myself so this was really just a bystanders perspective.