Polish Language Issue

Hello everyone.
Now i have been configuring this program to our school needs, but i seemed to find a problem and can’t fix it, perhaps someone can give me a hand.

Now the first problem is when i open gibbon as English i can see link for teachers and student to enroll, but when i change to Polish language the links disappear… What could be causing this problem.

And the second problem is when we do invoices again in polish language the dates does not show the proper format 00/00/00 but shows 00.00.00.
is this a bug in the system can i fix it myself???

Your help would be much appreciated since we are almost completed the configuration and we would like to be ready to introducing our teachers to this software…

CHeers

Hi dgago,

It looks like some terms in the Polish translation may have incorrect string tokens (like %1$s and <code class="CodeInline">%2$s) so they’re not inserting the links and urls into the text where they’re meant to be. Would you be interested in helping fix these translations through our online POEditor tool? Then we could generate new translation files which should fix your issue. If so, send an email to support@gibbonedu.org and we’ll set you up with access.

The second issue seems to be that the Date Picker uses a different date format than what is recorded in Gibbon for the pl_PL locale. What is the standard form of writing a date in Poland? If it’s dd.mm.yyyy, you could possibly correct this issue by running the following SQL on your database:

UPDATE gibboni18n SET dateFormat = ‘dd.mm.yyyy’, dateFormatRegex = “/^(0[1-9]|[12][0-9]|3[01])- /.- /.\d\d$/i”, dateFormatPHP = ‘d.m.Y’ WHERE code = ‘pl_PL’;`

Let me know if that works and we can make the same change in the core.

Thanks!

Hi David,

Thanks for your offer to help fix these terms. Here’s an example of what needs fixed:

In English:
Parents of students interested in study at %1$s may use our %2$s online form %3$s to initiate the application process.`

In Polish:
Rodzice uczniów zainteresowanych nauką w %1$ s mogą skorzystać z naszego formularza online %3$s, aby rozpocząć proces składania wniosku.
`

Each of the %1$s <code class="CodeInline">%2$s and %3$s tags need to be included in the string, with no extra spaces between the $ and s. In this case, the <code class="CodeInline">%2$s and %3$s` tags are placeholders for the HTML link, so with these missing it’s not properly adding a link to the translated text in Polish.

In POEditor you could search for %1` and see if you can find any other terms where the string-tags are missing or need fixed.

Give a shout with any questions.

Hi sorry for late replay i was away… i’ll look into it as soon as possible as i am away…
I’ll keep you posted

It worked the above issue thank you, but still having issues:
The second issue seems to be that the Date Picker uses a different date format than what is recorded in Gibbon for the pl_PL locale. What is the standard form of writing a date in Poland? If it’s dd.mm.yyyy, you could possibly correct this issue by running the following SQL on your database:

UPDATE gibboni18n SET dateFormat = ‘dd.mm.yyyy’, dateFormatRegex = “/^(0[1-9]|[12][0-9]|3[01])- /.- /.\d\d$/i”, dateFormatPHP = ‘d.m.Y’ WHERE code = ‘pl_PL’;

Our format is 11/06/2019 for example

How can i fix this, i still cannot continue with invoices because of the date issue.

Cheers

Never mind i got it working…
Thank you

Hi David,

Glad to hear you got it working. Did the above SQL help, or did you end up finding a different solution? If so, feel free to share how you fixed it, if it could be of use to anyone else trying to solve a similar issue in the future.

Thanks!

Hi the Sql didn’t really do much, i just went to polish language via php and changed the setting manually by coping the English settings into the Polish and it’s working

Okay, good to know, thanks for sharing your solution!