Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Question regarding polish language

Asked Modified Viewed 1,257 times
B
BenL
B
BenL 12
  • Member, joined since
  • Contributed 96 posts on the community forums.
  • Started 41 threads in the forums
  • Started this discussions
asked
Member

Hello there,
I would like to ask about advice how to start work with locals on crowdin page.
Sometimes i would like to help improve polish language, but its very hard to find proper string in local database.

Also, there is couple of places when is problem with translation for singular and plural.

For example, in gallery, under album there is details about photo number (also i would like know if PF knows if there is more then 1 photo and automatcily change string from singular for plural) now its looks that is singular and its not grammatically correct.
For example when is 1 photo should be - 1 zdjęcie, when is more then 1 should be zdjęcia, when i try go to crowdin page and find this string, there is so many results and i never know which one is the correct one.

I will be grateful for any advice how to use this tool.

Regards.
Edited by BenL on 26-09-2021 01:41,
0 replies

7 posts

F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

There are no easy way to sort the strings from variations unless you can read the code and find the place where it is. You can also open your local locale, like albums and change the string to see results then you know which one it is for Crowin.
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

There search and filter, you can find whatever you want by array key or translation. Also you have proofreader permissions for Polish so you can approve translations.
snipboard.io/Dh0jia.jpg


Only translations that are approved are used in final version. You can do this by checking correct version.
snipboard.io/KT1Dhw.jpg
0 replies
B
BenL
B
BenL 12
  • Member, joined since
  • Contributed 96 posts on the community forums.
  • Started 41 threads in the forums
  • Started this discussions
answered
Member

Many thanks for all details.
What about singular or plural, PF know when is more then 0 or 1 photo in album?, or its shows every time same string?
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

Not always this is possible, so I recommend write text in plural.
0 replies
B
BenL
B
BenL 12
  • Member, joined since
  • Contributed 96 posts on the community forums.
  • Started 41 threads in the forums
  • Started this discussions
answered
Member

I change some string for polish language, using your tips, but im not able to find this one - pls check att.
Any tips where i can find this Photo string?
BenL attached the following image:
Image not found
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

https://github.com/PHPFusion/PHPFusio...ry.php#L34

It's based on count, 1 photo or 2 photos. In Slovakia we have like this 1 fotka, 2 fotky, 5 fotiek, so my translation looks like this $locale['gallery_461'] = "fotka|fotky|fotiek";. Some languages have this similar, idk if Polish as well.

Here you can add own version https://github.com/PHPFusion/PHPFusio...#L109-L183. Note: if you add support for more variants, you will need to update all strings.

In Slovak and Czech translation I have declension and plurals fixed, so it doesn't looks weird for page visitor. (I maintain both translations.)
0 replies
B
BenL
B
BenL 12
  • Member, joined since
  • Contributed 96 posts on the community forums.
  • Started 41 threads in the forums
  • Started this discussions
answered
Member

It is very helpful, I will check this.
Many thanks for sharing that.

Update:

Omg, i do some quick test for comments and photos, its works fantastic!
Edited by BenL on 03-10-2021 16:39,
0 replies

Category Forum

Locales Forum - 9

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

F
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
B
B
BenL 12
  • Member, joined since
  • Contributed 96 posts on the community forums.
  • Started 41 threads in the forums
  • Started this discussions
R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet