hook.io icon indicating copy to clipboard operation
hook.io copied to clipboard

Support Multiple Verbal Languages ( i18n Localization )

Open Marak opened this issue 10 years ago • 3 comments

It's important that the project be as accessible as possible.

Adding i18n translation to our user-interfaces and API responses will allow more people to use the software.

I've got the basic localization functionality working locally and should have it deployed in the next few days. Once we have all the strings / messages mapped out on the front-end, we'll need a lot of help getting all the correct translations for every language.

Related: https://github.com/bigcompany/hook.io/issues/58

Marak avatar Sep 30 '15 11:09 Marak

Basic i18n support is now working.

see: http://hook.io/?lang=de

Should also auto-detect on browser agent.

All site translations are located here: https://github.com/bigcompany/hook.io-i18n

We'll need more contributors soon.

Marak avatar Oct 01 '15 12:10 Marak

We are now starting to get language contributors.

We are going to run into an issue with the translations getting out of sync of the design. As we make updates to the english design, certain elements of the translations may get lost / will need to be re-translated.

This is OK. We'll version the design and when we are certain there will be no more major copy changes in the design, we can put out a call to all our language contributors to make updates.

Moving forward, to add i18n support to any part of the front-end, all you have to do is attach a new class called i18n to the element, and regardless of element type, it should correctly translate it's attributes.

Marak avatar Oct 02 '15 02:10 Marak

It's a pity, but this i18n package support only Germanic languages. For example plural forms formula is num!=1, which is incorrect for most other language families.

pyhedgehog avatar Oct 27 '15 11:10 pyhedgehog