okfn / opendataeditor

No-code application to explore and publish all kinds of data: datasets, tables, charts, maps, stories, and more. Forever free and open source project powered by open standards and generative AI.
http://opendataeditor.okfn.org
MIT License
150 stars 18 forks source link

Set up internationalization #355

Open guergana opened 2 months ago

guergana commented 2 months ago

Overview

Internationalization plugin setup

Set up the project for translations. The scope of this task is to set up the plugin so then the translations can be added also with the objective of separating the labels of the app from the code for better maintainability even if for now we keep everything in the default English.

It seems the most popular plugin at the moment for internationalization with React is React i18next.

Proposals for the translations

For the translations let's discuss later if we use transifex or translatewiki.net. Translate wiki has automatic integration with github and it's a free tool translated by volunteers, so we would stay in the open source environment if we decide to use that tool, but we need to check if the ODE is eligible to use it because of the license requirements of translatewiki

This is an example automated commit from translate wiki. To have an idea of what the plugin does also check this example from WMDE's Wikidata Mismatch Finder.

Please feel free to add more suggestions if you know of more translation services or plugins for i18n with React.

roll commented 2 months ago

As mentioned on the call the original issue/discussion/context is https://github.com/okfn/opendataeditor/issues/73