[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Limited translation options


Hi all,

I have done multiple projects in the past that has translations in several languages.
But, up until today, I never realized that there is a limit in the languages that you can translate to in Gambas. I Guess I was lucky always picking the available languages.

For one of my projects I wanted to add a short Slovak translations (I don't speak Slovak BTW), but it turned out you can't add a Slovak translation and there are many more language missing.

1.png

My question:
Would an option to add a new language to the list yourself maybe be possible?
If you know the locale code of the language to translate, all you need is a new .po file prefixed with said local code. For example: sk_SK.UTF-8 is the locale code used on Linux for Slovak, so a sk.po would be needed.

On another note:
I guess if I just add the proper sk.po file in the lang folder of the project it will work.
At least that is what I am going to try,  but maybe someone has a straight forward answer that saves me the time of trial and error.

gbWilly

Wanna learn Gambas? - Guides overview
GambOS
Gambas3 for Debian/Ubuntu

...there is always a Catch if things go wrong!

Sent with Proton Mail secure email.

Follow-Ups:
Re: Limited translation optionsgbWilly <gbWilly@xxxxxxxxxxxxxx>