• Page:
  • 1
  • 2

TOPIC:

Re: Where can I download of the Master English file? 9 years 2 weeks ago #21

  • adem_genc
  • adem_genc's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 219
OK, I add here on Thursday evening.


Regards
webtrees 1.3.2
PHP Version: 5.3.13
MySQL Version: 5.0.91-log

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

Re: Where can I download of the Master English file? 9 years 2 weeks ago #22

  • adem_genc
  • adem_genc's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 219
Hi,

@fisharebest

Please update your po file and give me again.
For errors and omissions

After publishing the 1.2.2 version.

gencsoy.muttafi.com/Turkish_language_files.zip

Regards
webtrees 1.3.2
PHP Version: 5.3.13
MySQL Version: 5.0.91-log

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

Last edit: by adem_genc.

Re: Where can I download of the Master English file? 9 years 2 weeks ago #23

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13364
You can download the latest tr.po file here:
translations.launchpad.net/webtrees/trun.../webtrees/tr/+export
(This takes 10 minutes.)

You can upload your modified tr.po file here:
translations.launchpad.net/webtrees/trun.../webtrees/tr/+upload
(This takes 2-12 hours).

I have merged your TR.PO file with the latest WEBTREES.POT file.
This adds the new messages, and deletes the old messages.

I will send this to you by email.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Last edit: by fisharebest.

Re: Where can I download of the Master English file? 9 years 2 weeks ago #24

  • adem_genc
  • adem_genc's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 219
Okay, thank you
webtrees 1.3.2
PHP Version: 5.3.13
MySQL Version: 5.0.91-log

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

Re: Where can I download of the Master English file? 9 years 1 week ago #25

  • adem_genc
  • adem_genc's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 219
Hi,

does not show the site translated or english phrases of this types.

webtrees 1.3.2
PHP Version: 5.3.13
MySQL Version: 5.0.91-log
Attachments:

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

Re: Where can I download of the Master English file? 9 years 1 week ago #26

  • adem_genc
  • adem_genc's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 219
Hello @fisharebest

.PO files

#: webtrees/library/WT/I18N.php:436
#, php-format
msgid "%d month ago"
msgid_plural "%d months ago"
msgstr[0] ""

msgstr[1] "" I add the line, have no problems.

#: webtrees/library/WT/I18N.php:436
#, php-format
msgid "%d month ago"
msgid_plural "%d months ago"
msgstr[0] ""
msgstr[1] ""
webtrees 1.3.2
PHP Version: 5.3.13
MySQL Version: 5.0.91-log

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

Last edit: by adem_genc.

Re: Where can I download of the Master English file? 9 years 1 week ago #27

  • adem_genc
  • adem_genc's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 219
I added msgstr[1] ""
I changed nplurals=2; plural=(n>1)
Now you do not have a problem
webtrees 1.3.2
PHP Version: 5.3.13
MySQL Version: 5.0.91-log

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

Re: Where can I download of the Master English file? 9 years 1 week ago #28

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13364
I used "nplurals=1; plural=0;" because this link says that Turkish uses the same words for singular/plural

translations.launchpad.net/+languages/tr

Is this page wrong?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Re: Where can I download of the Master English file? 9 years 1 week ago #29

  • adem_genc
  • adem_genc's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 219

fisharebest wrote:
translations.launchpad.net/+languages/tr

Is this page wrong?

I know I'm not expert.
This: nplurals=1; plural=0;
FOR ug Uyghur nplurals=1; plural=0; AND uz Uzbek nplurals=1; plural=0;








But, I do not work.

Please see translate.sourceforge.net/wiki/l10n/pluralforms
tr Turkish nplurals=2; plural=(n>1)

Works well in this way.

Example: No plural for amount.
1 day = 1 gün
2 days = 1 gün , günler no plural ler ; Because amount exists


But, exists plural for List.
Familys = Aileler , plural ler
Top 10 names = En 10 adlar , plural lar

I check all translated.
result
excellent
All works fine phrases.


Note:

You can upload your modified tr.po file here:
translations.launchpad.net/webtrees/trun.../webtrees/tr/+upload
(This takes 2-12 hours).

Not allowed here
Sorry, you don't have permission to access this page.





Regards
webtrees 1.3.2
PHP Version: 5.3.13
MySQL Version: 5.0.91-log

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

Last edit: by adem_genc.

Re: Where can I download of the Master English file? 9 years 1 week ago #30

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13364
<<you don't have permission to access this page.>>

Can you send the file to me by email? Thanks!
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Re: Where can I download of the Master English file? 9 years 1 week ago #31

  • adem_genc
  • adem_genc's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 219
OK, I sent the files.
webtrees 1.3.2
PHP Version: 5.3.13
MySQL Version: 5.0.91-log

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

Re: Where can I download of the Master English file? 9 years 1 week ago #32

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13364
Thanks.

webtrees and launchpad use the CLDR for internationalisation. cldr.unicode.org/

The rules for plurals are here:

unicode.org/Public/cldr/2.0.1/core.zip - /common/supplemental/plurals.xml

This says that Turkish should be "nplurals=1; plural=0;"

The reason is that there are 2 types of plural.

1) Plurals with numbers

0 apple
1 apples
2 apples
...

2) Plurals without numbers

I eat an apple
I eat apples

We currently have this translation. It combines (1) and (2).

"Top surname / Top %d surnames"

This is wrong. We should change the code to use two different translations

Top surname
Top %d surname / Top %d surnames

I will change the code. I will also change the tr.po file to use "nplurals=1; plural=0;"
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Re: Where can I download of the Master English file? 9 years 1 week ago #33

  • adem_genc
  • adem_genc's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 219
If you are not nplurals=2; plural=(n>1)

This is not no nplurals=1; plural=0;

Because,
Top surname / Top %d surnames
Translation option, the exist one.
Top surname OR Top %d surnames does not matter, translated
Site are results: E
Other plural phrases, Turkish translation or English no none

I changed "nplurals=1; plural=0;"
webtrees 1.3.2
PHP Version: 5.3.13
MySQL Version: 5.0.91-log

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

Last edit: by adem_genc.

Re: Where can I download of the Master English file? 9 years 1 week ago #34

  • adem_genc
  • adem_genc's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 219
I used this: nplurals=1; plural=0;
AND result:

Site in Turkish language

tr.PO file

#. I18N: This is a title, so needs suitable capitalisation
#: webtrees/includes/functions/functions_charts.php:264
#, php-format
msgid "%d Child"
msgid_plural "%d Children"
msgstr[0] "%d Çocuk"

webtrees 1.3.2
PHP Version: 5.3.13
MySQL Version: 5.0.91-log

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

Last edit: by adem_genc.

Re: Where can I download of the Master English file? 9 years 6 days ago #35

  • adem_genc
  • adem_genc's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 219
Problems for nplurals=2; plural=n>1; AND nplurals=1; plural=0;

Examples




this is to inform you

Regards
webtrees 1.3.2
PHP Version: 5.3.13
MySQL Version: 5.0.91-log

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

Last edit: by adem_genc.
  • Page:
  • 1
  • 2
Powered by Kunena Forum