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.
Sign In
Not a member yet? Click here to register.

Locales Forum - 8

All issues regarding locales, including error reports, requests and offerings of new locales
688 posts | Last Activity on 13-10-2020 11:24 by RobiNN
RobiNN
RobiNN 13-10-2020 11:24, 12 days ago
Re: Full Arabic PHPfusion_8.00.60 version for download Hi, your site is now Official National Support Site (NSS). 

Translations

We no need full PHP-Fusion code with your translation.
All translations we have here https://github.com/php-fusion/locales (includes your latest translations for v8 and v9).
If you want to edit any string please use Crowdin https://translate.php-fusion.co.uk/project/php-fusion-locales/invite
alqutob
alqutob 13-10-2020 04:43, 13 days ago
Re: Full Arabic PHPfusion_8.00.60 version for download Hello All
It is my pleasure to announce to all interested members that I finished translating PHPfusion_8.00.60 to Arabic language
You can download it from the arabic support forum
http://phpfusion-ar.xyz/infusions/downloads/downloads.php where you can find arabic infusions and themes.
Arabic PHPfusion_8.00.60 example site
http://ar-phpfusion.xyz

Full Arabic PHPfusion_8.00.60 version (Locale Files. JS Files TinyMCE, elfinder .. etc) is attached to this topic.
(I hope Admins will help to upload it to the suitable section on the site server)
Thank you

الإصدار الأخير 
Arabic PHPfusion_8.00.60
بنسخته العربية ين يديك الآن
 
Wanabo
Wanabo 13-08-2020 15:57, 2 months ago
Re: Missing files includes/classes/PHPMailer/language Ok. Default I use English. Translate only visable to users to Dutch. So I think I don't need extra language files. Is so, I now know were to find them. Thanks.
RobiNN
RobiNN 13-08-2020 15:42, 2 months ago
Re: Missing files includes/classes/PHPMailer/language https://github.com/php-fusion/PHP-Fusion/tree/Tesseract/includes/classes/PHPMailer/language
Other languages you can find here: https://github.com/PHPMailer/PHPMailer/tree/master/language


https://github.com/php-fusion/PHP-Fusion/tree/Tesseract/includes/elFinder/js/i18n
Other languages you can find here: https://github.com/Studio-42/elFinder/tree/master/js/i18n

Or if you download language pack you also get these missing files. E.g. https://github.com/php-fusion/locales/tree/version-8/Slovak/includes
Don't bother with English files. These translations are usually directly in code
Wanabo
Wanabo 13-08-2020 15:36, 2 months ago
Re: Missing files includes/classes/PHPMailer/language In file locale\English\global.php there is a reference to:
$locale['phpmailer'] = "en"; // refer to path includes/classes/PHPMailer/language/phpmailer.lang-{value}.php

These files are not in the latest Tesseract on github. Can we live without these phpmailer.lang-{value}.php files?


Edit:
Same goes for: $locale['filemanager'] = "en_EN"; // refer to path includes/elFinder/js/i18n/{value}.js
Directory i18n contain no lang files.
RobiNN
RobiNN 03-08-2020 16:07, 3 months ago
Re: Duplicated paragraphs in locale\English\admin\members_email.php https://github.com/php-fusion/PHP-Fus...dc458292df
alqutob
Re: Duplicated paragraphs in locale\English\admin\members_email.php Duplicated paragraphs in file PHP-Fusion 8.00.50\files\locale\English\admin\members_email.php

Code

$locale['email_deactivate_message'] = "Hello [USER_NAME],
\r\nIt has been [DEACTIVATION_PERIOD] day(s) since you last logged in at [SITENAME]. Your user has been marked as inactive but all your account details and content remains intact.
\r\n
To reactivate your account simply click the following link: [REACTIVATION_LINK]
\r\nRegards,
\r\n[SITEUSERNAME]";
$locale['email_deactivate_message'] = "Hello [USER_NAME],
\r\nIt has been [DEACTIVATION_PERIOD] day(s) since you last logged in at [SITENAME]. Your user has been marked as inactive but all your account details and content remains intact.
\r\n
To reactivate your account simply click the following link: [REACTIVATION_LINK]
\r\nRegards,
\r\n[SITEUSERNAME]";



And

Code

$locale['email_ban_message'] = "Hello [USER_NAME],
\r\nYour account on [SITENAME] has been banned by [ADMIN_USERNAME] because of the following reason:
\r\n
[REASON]
\r\nIf you want more information about this ban, please, contact the site administrator at [SITENAME].
\r\nRegards,
\r\n[SITEUSERNAME]";
$locale['email_ban_message'] = "Hello [USER_NAME],
\r\nYour account on [SITENAME] has been banned by [ADMIN_USERNAME] because of the following reason:
\r\n
[REASON]
\r\nIf you want more information about this ban, please, contact the site administrator at [SITENAME].
\r\nRegards,
\r\n[SITEUSERNAME]";

RobiNN
RobiNN 09-03-2019 13:31, 2 years ago
Re: wrong locales in forum buttons attaching images Compare locales with English. In English is OK.
helmuth
helmuth 08-03-2019 06:48, 2 years ago
Re: wrong locales in forum buttons attaching images where to fix this problem?
helmuth
helmuth 08-01-2019 13:47, 2 years ago
Re: Missing locale on contact page Still not fixed

In which locale file do I find the phrase?

is it loaded from here: https://github.com/php-fusion/PHP-Fus...rimage.php
lines 1381-1383

And why are there two fields (English and Danish) to enter the security code?

Merged on 01/08/2019:
Sorry ... is fixed

forgot to upload the file ;-)
RobiNN
RobiNN 07-01-2019 17:31, 2 years ago
Re: Missing locale on contact page Fixed.
helmuth
helmuth 07-01-2019 17:05, 2 years ago
Re: Missing locale on contact page contact.php in Danish language contains English words

the phrase: Type the text: is not present in the locale files

where to find it?
Falk
Falk 07-01-2019 11:11, 2 years ago
Re: setlocale(LC_TIME That is correct.
RobiNN linked how the locale/lang/global.php should be set and you returned a faulty line ( ISO ) together with your example of the issue.
Update your global with above and make sure all is converted to UTF-8 and it should fix it for you.
helmuth
helmuth 07-01-2019 10:35, 2 years ago
Re: setlocale(LC_TIME the right collation in the database is that:

utf8_unicode_ci

or should it be another?
Falk
Falk 06-01-2019 09:38, 2 years ago
Re: setlocale(LC_TIME You need
Code
setlocale( LC_ALL, "da", "dan", "da_DK", "da_DK.DK.UTF-8", "danish" );


Also the files must be UTF-8 as well as the database. In some instances you can get away with using Ansi if both files and Locale is set to Windows-1252 ( Ansi ).
But I would never recommended to try and cross breed them formats.

It boils down to 3 things
Database = UTF-8
Locale settings in the global = UTF-8
File format of the actual render and locale files = UTF-8
helmuth
helmuth 05-01-2019 16:20, 2 years ago
Re: setlocale(LC_TIME http://kidsvolley-kerteminde.dk/v8/ne...8/news.php

look at footer at the above link

and compare with http://kidsvolley-kerteminde.dk/news.php

settings in global.php:

setlocale( LC_ALL, "da", "dan", "da_DK", "da_DK.ISO8859-1", "danish" );
setlocale(LC_TIME, "da","DA"); // Linux Server (Windows may differ)
RobiNN
RobiNN 05-01-2019 14:08, 2 years ago
Re: setlocale(LC_TIME https://github.com/php-fusion/PHP-Fus...al.php#L20
helmuth
helmuth 05-01-2019 14:00, 2 years ago
Re: setlocale(LC_TIME this is the English setting in global.php

setlocale(LC_TIME, "en_GB.utf8"); // Linux Server (Windows may differ)

where to find the correct Danish setting? I've been googling and searching and searching and googling with no result :-(
helmuth
helmuth 05-01-2019 06:18, 2 years ago
Re: UTF-8 Conversion Tools Thread I wondered if there was a similar tool for macOS and found this: https://docs.moodle.org/36/en/Convert...s_to_UTF-8
Chan
Chan 05-01-2019 01:27, 2 years ago
Re: Globale and one word locale Ok, we will code it in full sentence instead. It should not be used as part of a larger locale construct. Thank you for letting us know.
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.