• Page:
  • 1

TOPIC:

Add a new language to Webtrees. Euskara/basque 3 weeks 15 hours ago #1

  • Oskar
  • Oskar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
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.

Add a new language to Webtrees. Euskara/basque 3 weeks 14 hours ago #2

  • Lars1963
  • Lars1963's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 181
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.
Lars van Ravenzwaaij - see my family tree at www.ravenzwaaij.info

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

Last edit: by Lars1963.

Add a new language to Webtrees. Euskara/basque 3 weeks 14 hours ago #3

  • Oskar
  • Oskar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
Thank you so much, Lars.

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

Add a new language to Webtrees. Euskara/basque 2 weeks 6 days ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 17129
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 - This email address is being protected from spambots. You need JavaScript enabled to view it. - @fisharebest@phpc.social - fisharebest.webtrees.net

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

Add a new language to Webtrees. Euskara/basque 2 weeks 5 days ago #5

  • Oskar
  • Oskar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
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.

Add a new language to Webtrees. Euskara/basque 2 weeks 5 days ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 17129
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - @fisharebest@phpc.social - fisharebest.webtrees.net

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

Add a new language to Webtrees. Euskara/basque 2 weeks 1 day ago #7

  • Franz Frese
  • Franz Frese's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 828
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.

Add a new language to Webtrees. Euskara/basque 2 weeks 11 hours ago #8

  • Oskar
  • Oskar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
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.

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Add a new language to Webtrees. Euskara/basque 1 week 6 days ago #9

  • Oskar
  • Oskar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
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.

Add a new language to Webtrees. Euskara/basque 1 week 6 days ago #10

  • Franz Frese
  • Franz Frese's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 828
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

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

Last edit: by Franz Frese.

Add a new language to Webtrees. Euskara/basque 1 week 6 days ago #11

  • hermann
  • hermann's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 861
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.16 (all custom modules installed, PHP 8.2, MySQL 5.7) @ ahnen.hartenthaler.eu

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

Add a new language to Webtrees. Euskara/basque 1 week 6 days ago #12

  • Franz Frese
  • Franz Frese's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 828
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.

Add a new language to Webtrees. Euskara/basque 1 week 6 days ago #13

  • Lars1963
  • Lars1963's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 181

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.
Lars van Ravenzwaaij - see my family tree at www.ravenzwaaij.info

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

Last edit: by Lars1963.

Add a new language to Webtrees. Euskara/basque 1 week 5 days ago #14

  • Franz Frese
  • Franz Frese's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 828
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.

Add a new language to Webtrees. Euskara/basque 1 week 5 days ago #15

  • Oskar
  • Oskar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
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.

Add a new language to Webtrees. Euskara/basque 1 week 5 days ago #16

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 17129
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 - This email address is being protected from spambots. You need JavaScript enabled to view it. - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • Page:
  • 1
Powered by Kunena Forum