Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> What would translators see in this case for Arabic

The Arabic translator would have to provide 6 different translations, one translation for each plural form.

> And if there were two variables, nine translations?

We currently only allow for pluralization based on one variable per phrase. We're hoping address this soon.

> Does Localize.js handle work like culture-specific number and date formatting?

We usually recommend libraries like moment.js to handle date localization. They do a fantastic job at localizing dates.

> How does it identify application-generated text versus user data

We provide a set of HTML markers that you can use to indicate to Localize.js that certain text should be translated. For example...

<div class="blog-comments" notranslate> [...] </div>

https://localizejs.com/docs/usage/variables



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: