Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ukranian lang #2396

Open
SerhiiZahuba opened this issue Sep 28, 2023 · 4 comments
Open

Add Ukranian lang #2396

SerhiiZahuba opened this issue Sep 28, 2023 · 4 comments
Labels
i18n Internalization +request
Milestone

Comments

@SerhiiZahuba
Copy link

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.

@Kaian Kaian added the i18n Internalization label Oct 2, 2023
@Kaian Kaian added this to the Future milestone Oct 2, 2023
@Kaian
Copy link
Member

Kaian commented Oct 2, 2023

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,

@MichaelSTK
Copy link

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

@Kaian
Copy link
Member

Kaian commented Nov 27, 2023

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

@MichaelSTK
Copy link

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?

@Kaian Kaian added the +request label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n Internalization +request
Development

No branches or pull requests

3 participants