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

Translations - generate with AI #51

Open
zecruel opened this issue Jun 14, 2024 · 0 comments
Open

Translations - generate with AI #51

zecruel opened this issue Jun 14, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@zecruel
Copy link
Owner

zecruel commented Jun 14, 2024

Hi,

I generated new GUI translations using AI as follows.

image

The generated files are in folder translations.

To use these translations, simply copy the files to the /lang folder (Windows - in the executable folder, Linux - /usr/share/cadzinho/, macOS - CadZinho.app/Contents/Resources/), and they will be available in the configuration window.

For non-Latin languages ​​(Russian, Chinese) it is necessary to use a font that has the corresponding characters. I recommend using the GoNotoKurrent-Regular.ttf font, which is almost universal. To load the font it is necessary to change the configuration file indicating the path and file of the font to be used, as in the following example.

image

I ask that native speakers in these languages ​​check the quality of the translation and display on the screen. Feel free to submit improvements. The files consolidated in the verification/improvement will be incorporated into the next versions of CadZinho.

If you want to follow the same methodology to do other translations (base file in English), I used Copilot with the following prompt:
rewrite the Lua ‘translate’ table below, translating the value strings into --target lang--

See ya!

@zecruel zecruel added the help wanted Extra attention is needed label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant