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 system #13

Open
Blueberryy opened this issue Jun 10, 2023 · 6 comments
Open

Translations system #13

Blueberryy opened this issue Jun 10, 2023 · 6 comments

Comments

@Blueberryy
Copy link

Would love to help with Russian translation for this omega radio addon :p

@Grocel
Copy link
Owner

Grocel commented Jun 11, 2023

Currently the radio does not support translation/localization very well yet. It would be a while until I can add proper support to this.

Do you know anymore people that could do translation beside English and German (Me)?

If I was to start a translation project I would like to add more common languages such as German, Polish, Ukrainian, French and maybe Chinese and Korean.

@Blueberryy
Copy link
Author

Well, you can create discussion on your addon page with like "TRANSLATORS NEEDED" and pin it so people who loves your addon might help

@Grocel
Copy link
Owner

Grocel commented Jun 19, 2023

I will do. However I will prepare the addon to have translatable strings before hand. At the moment many strings with English texts are hard coded into the project.

@Grocel
Copy link
Owner

Grocel commented Jul 16, 2023

Upon closer inspection a complete translation of this addon is impossible with GMod shipped tools. And I don't like building custom stuff around stuff GMod should handle.

GMod does not support long translated contents, particularly if it contains many UTF8 chars as such as Russian text would. Each translated string must not be longer than 1024 bytes (not chars!). Facepunch/garrysmod-issues#5524

We could still setup a translation for all the short strings. But the quite long error explanation texts would have to stay in English.

@Blueberryy
Copy link
Author

Upon closer inspection a complete translation of this addon is impossible with GMod shipped tools. And I don't like building custom stuff around stuff GMod should handle.

GMod does not support long translated contents, particularly if it contains many UTF8 chars as such as Russian text would. Each translated string must not be longer than 1024 bytes (not chars!). Facepunch/garrysmod-issues#5524

We could still setup a translation for all the short strings. But the quite long error explanation texts would have to stay in English.

How about implementing translations system from Zombie Survival gamemode then? It's pretty simple and It's free to use in any addon https://github.com/JetBoom/zombiesurvival/blob/master/gamemodes/zombiesurvival/gamemode/sh_translate.lua

@michak89
Copy link

michak89 commented Sep 5, 2024

Happy to help with polish translation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants