ivozprovider
ivozprovider copied to clipboard
Add Ukranian lang
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.
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,
And for haliday? cant find the files in /opt/irontec/ivozprovider/web/portal/platform/ no /src/ dir
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
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?