ivozprovider icon indicating copy to clipboard operation
ivozprovider copied to clipboard

Add Ukranian lang

Open SerhiiZahuba opened this issue 1 year ago • 4 comments

How can you add the Ukrainian language to the interface?

I can make a translation of an existing file, just write where it is located.

SerhiiZahuba avatar Sep 28 '23 14:09 SerhiiZahuba

Hi @SerhiiZahuba

Please use provided templates when opening issues.

Sadly this is not as simple as translating texts, because some tables have multi-language fields. This means the database table has a column for each language, so adding a new language will require to add new columns to those tables.

If you want to temporally replace one of the existing languages, you can find translation files for each portal in translations dirs:

https://github.com/irontec/ivozprovider/tree/bleeding/web/portal/platform/src/translations https://github.com/irontec/ivozprovider/tree/bleeding/web/portal/brand/src/translations https://github.com/irontec/ivozprovider/tree/bleeding/web/portal/client/src/translations https://github.com/irontec/ivozprovider/tree/bleeding/web/portal/user/src/translations

Language names are stored in Languages database table.

Best Regards,

Kaian avatar Oct 02 '23 14:10 Kaian

And for haliday? cant find the files in /opt/irontec/ivozprovider/web/portal/platform/ no /src/ dir

MichaelSTK avatar Nov 23 '23 15:11 MichaelSTK

Those files are for halliday, but they are not part of the compiled version of the portal. They are part of the sources that are used to build the portal.

If you want to make any translation, you have to change it from the sources and run the commands to generate the portal final files, using yarn. https://github.com/irontec/ivozprovider/blob/bleeding/web/portal/platform/bin/build

Kaian avatar Nov 27 '23 15:11 Kaian

No idea how that works :), Is there an easier way?

Is it possible to send me the files so that I can translate them for you?

MichaelSTK avatar Nov 27 '23 15:11 MichaelSTK