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.
Welcome to the Official Site of PHP-Fusion
Sign In
Not a member yet? Click here to register.
Navigation
53 Replies | Latest reply on 01-05-2018 14:00 by Falk

53 Replies

Sort replies by
Creatium
CreatiumPosted 2 years ago 94 posts
Not to mention that we already have problems with numbers in translation. Example:
English:

Quote

There are currently %s pending for your review


Lithuanian (without utf-8 now to make it readable):

Quote

Siuo metu yra %s pateikimai, laukiantys patvirtinimo


Problem with "pateikimai" is that it can be used only when there is more than 1 submission but less than 10. This is why Lithuanian is hard. In order to have fully official language we should do that:
1 (submission) - pateikimas
2-9 - pateikimai
10 and more - pateikimu
Falk
FalkPosted 2 years ago 3981 posts
I know there was some discussions about that issue for other languages as well, I will ask Hien if it was tackled with some solution.

Is 0 submissions also same as - pateikimas ?
Creatium
CreatiumPosted 2 years ago 94 posts
No, it should say "pateikimu"* - as no submissions.

pateikimų - with utf-8.
Creatium
CreatiumPosted 2 years ago 94 posts
I don't want to sound mean, but how you managed translations during the update of code is really bad. At first all translations were updated at the same time (like if you mane changes to English, you make changes to all other languages). But right now I have to check and compare each and every file of translations to see if anything is changed: are there new variables, are their names changed, are there changes in text.

In the future if you do some translation updates, please do same updates in all the translations so we don't have to recheck every line of code and look for changes.

Peace :G
SuNflOw
SuNflOwPosted 2 years ago 12 posts
Hi,
I suggest to create a gist file or a file within the repository where we track changes to locale files. Because if I change something I can not translate everything in all languages.

The only thing I could do is add a variable and leave it English until someone will translate it.

Best,
SuN
Get v9 Infusion by SuN-Infusions here:
https://sun-infusions.de/ (German)
Creatium
CreatiumPosted 2 years ago 94 posts
Adding a variable in English is ok. We can see what changes were made the github itself, like it shows the last change, it shows history. Just when adding new variable, write a comment to it like "// translate this" and it would enough. Because is you edit only english locale, then it is hard to keep up, as it cat be simple corrections in locale itself (without dependency on other locales) or ir can be whole-locale field correction.
Falk
FalkPosted 2 years ago 3981 posts
I totally agree.
The normal procedure is that we have a file or a forum thread that lists version changes in respective locale file.
To ask for a dev to update up to 30+ separate translations is just not viable. That will certainly only work as a bottle neck for devs since they will think both once and twice before doing anything in such scenario.

What happened here was a that quite a few Translators started to translate the beta, long before we flagged OK to translate. It was not viable for us to keep up with all locale changes in the translations at that time, we wanted to focus on the release.

I know that I mentioned that it was a tad early to translate but still fun to see people go at it, however it is better to wait to the RC since a lot of changes were in the pipeline. But it hard to follow all discussions for sure.

Great work on the patching tho ;)

Edit, for clarification. For any future revisions I will do the best to track locale changes for translators.
ctokepa
ctokepaPosted 2 years ago 86 posts
There's a spelling mistake in the English locale in setup.php
$locale['setup_1018'] = "You can exit this installer right now by clicking the button below. This will rename yoru config_temp.php file back to config.php.";
It should be:
$locale['setup_1018'] = "You can exit this installer right now by clicking the button below. This will rename your config_temp.php file back to config.php.";
Falk
FalkPosted 2 years ago 3981 posts
Thank you.
ctokepa
ctokepaPosted 2 years ago 86 posts
There's another mispelling in locale/permalinks/faq.php
$locale['pl_faq_cat_title'] = "FaQ´s";
It should be with capital letters
$locale['pl_faq_cat_title'] = "FAQ´s";
Also
$locale['pl_faq_cat_desc'] = "Enable FaQ Category Permalink on the Site.";
to
$locale['pl_faq_cat_desc'] = "Enable FAQ Category Permalink on the Site.";
Falk
FalkPosted 2 years ago 3981 posts
Thank you for taking notice, I do think it is more of a typographic question, some want FAQ other want Faq and a few want FaQ, ive seen it all, right or wrong. Naturally, our spelling of it need to be consistent.
ctokepa
ctokepaPosted 2 years ago 86 posts
I've taken notice because in all the other files FAQ is written in capital letters, so I assumed that this is the standard and I think that we should pay attention to every tiny detail because this CMS is a premuim CMS. That's my point :).
Falk
FalkPosted 2 years ago 3981 posts
Good thinking and exactly my point :)
Change will be made to it for consistency, thank you.
ctokepa
ctokepaPosted 2 years ago 86 posts
In admin\settings.php there's another standard mismatch
$locale['eshop_settings'] It is written Eshop instead of eShop.
Falk
FalkPosted 2 years ago 3981 posts
Thank you , ;)
ctokepa
ctokepaPosted 2 years ago 86 posts
The translation to Bulgarian goes slowly because of the lack of a spare time but I've found a new mistake in locale\admin\English\migrate.php
$locale['101'] = "You must select two differant users for migration";
Should be
$locale['101'] = "You must select two different users for migration";
Soon I will post the whole translation. Sorry for the delay!
Falk
FalkPosted 2 years ago 3981 posts
No worries, take your time :) fixed the spelling. Thank you !
ctokepa
ctokepaPosted 2 years ago 86 posts
Another mistake:
$locale['download_0204'] = "Downloads Source: Please either provide a Downloads file or a Uri
to
$locale['download_0204'] = "Downloads Source: Please either provide a Downloads file or a URL
:)
Falk
FalkPosted 2 years ago 3981 posts
:G
ctokepa
ctokepaPosted 2 years ago 86 posts
Another mistake:
forum\locale\English\forum.php
$locale['forum_0225'] = "Sortby";
to
$locale['forum_0225'] = "Sort by";
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
Users who participated in discussion: : Falk, Wanabo, Kvido, foc_in_gaura, AvaLoN, kot2007, behrooz, ctokepa, Creatium, Erpien, Layzee, SuNflOw, Driv3r, douwe_yntema, MeSaMe
{%user_avatar%}

SDK for Translators - PHP-Fusion 9
by {%user_profile_link%} {%post_date%}