Web based family history software

Question Add a new language to webtrees. Euskara/basque

More
1 year 1 week ago #1 by Oskar
Good afternoon. I have a great interest in publishing my tree using webtrees. I would like to make my small contribution to this great project by adding a new language, the basque, "euskara" for us. I have registered with Weblate (@Oskar-Txoperena) and logically I do not have permission to start the translation of a new language. Is it possible to add the new translation to work on it? Its denomination: euskara. .eu
Thank you so much.

Please Log in or Create an account to join the conversation.

More
1 year 1 week ago - 1 year 1 week ago #2 by Lars1963
Replied by Lars1963 on topic Add a new language to webtrees. Euskara/basque
You should open a issue on github github.com/fisharebest/webtrees/issues and ask Greg to add the logic for the new languages to webtrees. Only after the logic has been added, you can do the translations through weblate.
Last edit: 1 year 1 week ago by Lars1963.

Please Log in or Create an account to join the conversation.

More
1 year 1 week ago #3 by Oskar
Thank you so much, Lars.

Please Log in or Create an account to join the conversation.

More
1 year 1 week ago #4 by fisharebest
Replied by fisharebest on topic Add a new language to webtrees. Euskara/basque
Hi Oskar,

Can you give me a little information about the Basque language.

1) What letters does it use for the alphabet?

For example:
English uses: A B C D E F ... Z
Hungarian uses: A Á B C CS D DZ DZS E É F ... Z ZS


2) Are there any letters with accents that are equivalent to other letters?

For example:
In German Ü is equivalent to UE
In Norwegian, Å equivalent to AA

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
1 year 1 week ago #5 by Oskar
Good morning Greg.

Thank you very much for your quick response. Euskara is a very old language and has many peculiarities.

It uses the Latin alphabet although the letters "c", "ç", "q", "v", "w" and "y" are only used for foreign words.

Accents are not used.

He uses abundantly the following digraphs: dd, rr, ll, ts, tt, tx, tz.

It may be a bit long but in these links there is a lot of information:

en.wikipedia.org/wiki/Basque_language

en.wikipedia.org/wiki/Basque_alphabet

Do not hesitate to contact me for any other clarification. Please remember that the official name of the language is "euskara".

Thank you so much!

Please Log in or Create an account to join the conversation.

More
1 year 1 week ago #6 by fisharebest
Replied by fisharebest on topic Add a new language to webtrees. Euskara/basque

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
1 year 2 days ago #7 by Franz Frese
Replied by Franz Frese on topic Add a new language to webtrees. Euskara/basque
Ola Oscar
Your last change was into spanish but you wrote in euskara.
I think you selected the wrong language.

Please Log in or Create an account to join the conversation.

More
1 year 1 day ago #8 by Oskar
Good afternoon Franz.
You're right, I keep the translation screen from English to Spanish open to make my job easier, but I know I've made a mistake about the screen at times, I'm sorry. My work is focused on Euskara.
Thank you so much

Please Log in or Create an account to join the conversation.

More
1 year 1 day ago #9 by Oskar
Good morning.
I understand that I will not be able to test or use basque language until the new version of webtrees, 2.1.17. Is it so? Thanks.

Please Log in or Create an account to join the conversation.

More
1 year 1 day ago - 1 year 1 day ago #10 by Franz Frese
Replied by Franz Frese on topic Add a new language to webtrees. Euskara/basque
you can test, but not as Euskara.
Choose another language (perhaps français canadien), go to the directory of this language (<WTinstalledPath>/resources/lang/fr-CA), rename the messages.php there for having the original, copy the euskara messages.po into this dir.
if you now select the "français canadien", your po-file will be converted to the php-file and you can test.

you find the basque po-file at github.com/fisharebest/webtrees/blob/mai.../lang/eu/messages.po (download raw)

you can test at dfrese.de/tree/ahnen/my-page# by selecting français canadien and you will get the basque/euskara
Last edit: 1 year 1 day ago by Franz Frese.

Please Log in or Create an account to join the conversation.

More
1 year 1 day ago #11 by hermann
Nice trick! But I assume that it is working only if the fundamental plural rules of the two languages "français canadien" and "basque/euskara" are identical.

Hermann
Designer of the custom module "Extended Family"

webtrees 2.1.20 (all custom modules installed, PHP 8.2, MariaDB 10.6) @ ahnen.hartenthaler.eu

Please Log in or Create an account to join the conversation.

More
1 year 23 hours ago #12 by Franz Frese
Replied by Franz Frese on topic Add a new language to webtrees. Euskara/basque
you can select a similar language.
it is only for test, until euskara is available in wt.

but using the po is also a "trick" when an update of wt is not there, but you want to see the translation-changes in the current version.
(you can test with the spanish language at dfrese and freris.de)

Please Log in or Create an account to join the conversation.

More
1 year 16 hours ago - 1 year 16 hours ago #13 by Lars1963
Replied by Lars1963 on topic Add a new language to webtrees. Euskara/basque

you can select a similar language.
it is only for test, until euskara is available in wt.

but using the po is also a "trick" when an update of wt is not there, but you want to see the translation-changes in the current version.
(you can test with the spanish language at dfrese and freris.de)

Why so difficult?
Just copy into the existing 2.1.16 installation:
1. github.com/fisharebest/webtrees/blob/mai...e/LanguageBasque.php
2. github.com/fisharebest/webtrees/blob/mai.../lang/eu/messages.po
3. github.com/fisharebest/webtrees/blob/mai...es/ModuleService.php (this is the updated version with the basque language)

You're now good to go. You can change the wt-language to basque with this. Just be sure to update the language file from github after every merged translation.
Last edit: 1 year 16 hours ago by Lars1963.

Please Log in or Create an account to join the conversation.

More
1 year 8 hours ago #14 by Franz Frese
Replied by Franz Frese on topic Add a new language to webtrees. Euskara/basque
thx for the hint.
I did not look for what files to add for a new language and I didn't consider, that these files are already published at github, so that they already can be downloaded.

Please Log in or Create an account to join the conversation.

More
1 year 8 hours ago #15 by Oskar
Good morning.
I am very grateful to all the trouble that has been taken with my problem. I take notes and get to work. It is important for me to see how the translations are turning out in the project, to be able to define them better later. Thank you!!!

Please Log in or Create an account to join the conversation.

More
1 year 2 hours ago #16 by fisharebest
Replied by fisharebest on topic Add a new language to webtrees. Euskara/basque
TIP,

If you update the file messages.po, then you must also delete the file message.php.

webtrees will automatically create messages.php from messages.po

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
11 months 1 week ago #17 by Oskar
Good afternoon,

I have practically finished translating into Basque. I have a little problem. I download the .po file, convert it smoothly to .php, and embed it in another language just fine too. I want to do a check, to see if my translation respects the context of the program, to make the necessary corrections. But I see that many already translated strings are missing. Could someone give me a solution? Or send me the complete .po file?

Thank you so much.

Please Log in or Create an account to join the conversation.

More
11 months 1 week ago #18 by Franz Frese

Please Log in or Create an account to join the conversation.

More
11 months 1 week ago #19 by Oskar
Yes, I delete the old messages.php file in the language folder and add the latest one that I downloaded after converting from .po to .php.

Please Log in or Create an account to join the conversation.

More
11 months 1 week ago - 11 months 1 week ago #20 by Franz Frese
Replied by Franz Frese on topic Add a new language to webtrees. Euskara/basque
I think you have to use the po-file downloded from github.
Delete all files from the wanted language dir and upload the po-file there.
It will on access auto converted to the php.
That way shold work ok.

P.s.: The way Lars described seems not to work correct for the actual 2.1.16 and the current github code. I get an error: see dfrese.de. Will try to correct at and of week
Last edit: 11 months 1 week ago by Franz Frese.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}