News for hackers. Stuff that matters.
Re:Free tool to translate your i18next resources by gus_massa on Sunday September 25, 2022 @09:13AM (#32970994)
Nice.

I tried a small change

  "key": "Where is your key?"
==> de

  "key": "Wo ist dein Schlüssel?"
that shows that it correctly translate "key" in the string bit not "key" in the field name.

==> es

  "key": "¿Dónde está tu llave?"
that shows that it adds a "¿" at the beginning that is correct and obvious, but I'm too used to bad translators (perhaps I'm too old).

Which languages are supported?

Re:Free tool to translate your i18next resources by knadh on Sunday September 25, 2022 @03:04PM (#32974816)
I’ve a simple static HTML+JS page that renders a translation UI by reading a JSON i18n file from a GitHub repo (can be any URL).

Demo: https://listmonk.app/i18n/

Source: https://github.com/knadh/listmonk-site/tree/master/i18n

Re:Free tool to translate your i18next resources by yboris on Monday September 26, 2022 @11:15AM (#32984209)
Nice!

I created something similar, feel free to steal my UI ;)

https://github.com/whyboris/JSON-i18n-Editor

Re:Free tool to translate your i18next resources by throwaway2016a on Sunday September 25, 2022 @01:54PM (#32973973)
Very nice. I like the simplicity.

For larger projects automation is key, though.

I prefer humans but sometimes where the budget doesn't permit it, I use AWS Translate https://aws.amazon.com/translate/ - it works well when integrated with automated tools.

Re:Free tool to translate your i18next resources by uptownJimmy on Sunday September 25, 2022 @11:22AM (#32972199)
This is great.

Except that my company started outsourcing all translations to another company, for legal/whatever reasons.

Re:Free tool to translate your i18next resources by adrai on Sunday September 25, 2022 @12:40PM (#32973089)
I use localistars.com for human translations.
Re:Free tool to translate your i18next resources by yboris on Monday September 26, 2022 @11:13AM (#32984186)
A free tool I created to update automated translations manually:

https://github.com/whyboris/JSON-i18n-Editor

Shows the diff as you update your JSON i18n files in a web view!

Re:Free tool to translate your i18next resources by itake on Sunday September 25, 2022 @12:32PM (#32973005)
I thought that Google Translate does not all you to store their translations?
Re:Free tool to translate your i18next resources by lloydatkinson on Sunday September 25, 2022 @01:03PM (#32973390)
Well, who’s going to know? Especially if you make sure to click reverse translate a few times. That’s a good tip generally anyway it often highlights words that are confusing and allows you to replace one that then translates into a more appropriate word.
Re:Free tool to translate your i18next resources by throwaway2016a on Sunday September 25, 2022 @01:51PM (#32973949)
It says it is like Google translate not that it is using Google translate. It might still use Google Translate but just an FYI.

Is there somewhere I missed where it says it uses Google?

Re:Free tool to translate your i18next resources by was_a_dev on Sunday September 25, 2022 @02:03PM (#32974069)
> This uses the free but limited google translate api. For a better experience have a look at locize. It offers a bulk action to machine translate, a dedicated focus view with multiple machine translation providers and an automatic machine translation workflow for new added keys.
Re:Free tool to translate your i18next resources by adrai on Sunday September 25, 2022 @07:14AM (#32970354)
Like translate.google.com but for i18next. Respects also interpolated values and plurals.