By Dreamonde Limited / Alfred Tang on Tuesday, 15 April 2014
Replies 19
Likes 0
Views 560
Votes 0
Hi Team,

I would like to get additional advise for translating below front-end files; I have translated most files but still some strings couldn't find. Please advise.

1) Achievements (Point history) > actions
2) Group Creation (CREATING GROUP) > Group type (Open Group, Closed Group, and those descriptions)

Thanks~

Alfred/ Dreamonde
Hello Alfred,

All these translations are located in the custom fields language file and they are located in /administrator/language/en-GB.plg_fields_xxx_yyy.ini . Where "xxx" is actually the group of the field, it could be user or group. Whereas "yyy" is actually the name of the field
·
Tuesday, 15 April 2014 10:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alfred,

The points history can be translated in /administrator/language/en-GB/en-GB.com_easysocial.ini . As for the group types, see /administrator/language/en-GB/en-GB.plg_fields_group_type.ini
·
Tuesday, 15 April 2014 03:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Thanks, can you guide me more for for below items for translation?

- Edit User profile > Password (Password hints, Password strength, etc)
- Edit User profile > User Name (Last name, first name, etc)
- Edit User profile > Birthday Calendar (Mo, Tu, We...)
- Edit User profile > BirthYear Privacy and hints

um... I found it's quite a headache for the translation as those front-end language strings are everywhere @.@
Thanks ahead.

Best regards,
Alfred/ Dreamonde
·
Tuesday, 15 April 2014 09:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Wow Thanks Mark!!

Now I truly understand the language mechanism for ES.... Sorry for troubling.

Best regards,
Alfred/ Dreamonde
·
Tuesday, 15 April 2014 12:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alfred,

You are most welcome
Have a nice day.
Sam
·
Tuesday, 15 April 2014 12:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh I found something that may FYI, below string still in use .. but it's under "not fit anywhere" section.
/administrator/language/en-GB/en-GB.com_easysocial.ini

; @since 1.0
; Generic strings that does not fit anywhere.
COM_EASYSOCIAL_NOTE="Note"

Further, I still cannot find where to translate the calendar widget (date picker) (i tried xx-xx.plg_fields_user_datetime.ini but no luck)

Thanks

Best regards,
Alfred/ Dreamonde
·
Tuesday, 15 April 2014 14:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alfred,

For the calendar, this is a little tricky because it uses the language from the javascript file. Which language tag are you using? Also, this is the format that it uses, maybe you can translate it and we'll add this in the datepicker UI?


jQuery(function($){
$.datepicker.regional['en-GB'] = {
closeText: 'Done',
prevText: 'Prev',
nextText: 'Next',
currentText: 'Today',
monthNames: ['January','February','March','April','May','June',
'July','August','September','October','November','December'],
monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
weekHeader: 'Wk',
dateFormat: 'dd/mm/yy',
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['en-GB']);
});
·
Tuesday, 15 April 2014 15:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh , Our site will support multilingual (en-GB, zh-TW, zh-CN, ja).

Actually it's no rush to add this manually for my site. If possible, I am more happy to wait for your future release to support multilingual (for this calendar widget) ... I guess those strings can get directly from Joomla's language file (System Language File /en-GB.ini, /zh-TW.ini, etc) and no need to have explicit translation. It's a good practice to keep common information (translation) in one place ^.^

Cheers~
·
Tuesday, 15 April 2014 15:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alfred,

There's a problem in retrieving this from the language file because this script is from jQuery and we try to not alter as much and just use whatever translations there are from the script. I tried viewing the script and it does seem to have the appropriate translations as you can see here,


jQuery(function($){
$.datepicker.regional['zh-CN'] = {
closeText: '关闭',
prevText: '<上月',
nextText: '下月>',
currentText: '今天',
monthNames: ['一月','二月','三月','四月','五月','六月',
'七月','八月','九月','十月','十一月','十二月'],
monthNamesShort: ['一月','二月','三月','四月','五月','六月',
'七月','八月','九月','十月','十一月','十二月'],
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
dayNamesMin: ['日','一','二','三','四','五','六'],
weekHeader: '周',
dateFormat: 'yy-mm-dd',
firstDay: 1,
isRTL: false,
showMonthAfterYear: true,
yearSuffix: '年'};
$.datepicker.setDefaults($.datepicker.regional['zh-CN']);
});

jQuery(function($){
$.datepicker.regional['zh-TW'] = {
closeText: '關閉',
prevText: '<上月',
nextText: '下月>',
currentText: '今天',
monthNames: ['一月','二月','三月','四月','五月','六月',
'七月','八月','九月','十月','十一月','十二月'],
monthNamesShort: ['一月','二月','三月','四月','五月','六月',
'七月','八月','九月','十月','十一月','十二月'],
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
dayNamesMin: ['日','一','二','三','四','五','六'],
weekHeader: '周',
dateFormat: 'yy/mm/dd',
firstDay: 1,
isRTL: false,
showMonthAfterYear: true,
yearSuffix: '年'};
$.datepicker.setDefaults($.datepicker.regional['zh-TW']);
});
·
Tuesday, 15 April 2014 16:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I see and thanks for your effort. Can you advise me for how to dealing this with multilingual? or no solution at the moment due the JQuery constraint? Thanks.
·
Tuesday, 15 April 2014 18:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alfred,

Hm, sorry but not too sure if I understand you here but it's actually already supporting multi lingual. Is it not working for you when you switch to a different language file?
·
Tuesday, 15 April 2014 19:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Oh now I understand your reply... Sorry I just misread your message.

Can you advise me which file I should modify? Thanks a lot!

Best regards,
Alfred / Dreamonde
·
Tuesday, 15 April 2014 19:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alfred,

Hm, you don't really need to do anything as it should automatically translate.
·
Tuesday, 15 April 2014 23:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Yes, confirmed is it not working under other languages (eg: Chinese-TC/SC) , it's still in english. Further I also found another "bug" with Chrome with ES. Retrieving contents with AJAX (especially using content filter in dashboard), contents will be loaded with default language (regardless of which other languages I have selected); this turn out the ajax contents (filtered stream) may have different language contents with my site interface ... just in case I have manually switch to other language. However, this only happens with Chrome. Tested with Safari have no such problem.

p.s. The Multilingual Calendar doesn't work under both Chrome and Safari.

Thanks

Best regards,
Alfred / Dreamonde
·
Wednesday, 16 April 2014 12:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alfred,

Is it possible for you to provide us with the back end and FTP access to your site to check on this issue?
·
Thursday, 17 April 2014 00:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello all,

I put the French translations files in /administrator/language/fr-FR folder. Permissions are 644, owner is ok. But, activity streams and custom fields are not translated.
Language Debug is enabled and french translations are not loaded.

Any clue?
·
Friday, 30 May 2014 01:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sylvain ROGER,

I am sorry for the late reply.
May I know, are you using the latest version EasySocial v1.2.14 ?
If yes, we might slightly change the language string structure of EasySocial v1.2.14. All custom field and applications language files are now merge into component language file. Please make the appropriate modification and see how it goes.

If this issue are still persist, perhaps you can provide us with backend access and FTP access as well so that we are able to assist you on this issue much quicker. If your site is hosted locally, could you please upload it to a temporary location for us to access?

Please be advise.
Thanks.
·
Friday, 30 May 2014 10:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mohd,

Thank you for sharing this info. Yes, I do use 1.2.14.

It now works. Here is the shell I coded to ease copy process:
cd /home/path_to_your_site/www/administrator/language/fr-FR
cat fr-FR.plg_fields_group_address.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_group_alias.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_group_avatar.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_group_checkbox.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_group_cover.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_group_description.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_group_permalink.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_group_photos.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_group_title.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_group_type.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_address.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_avatar.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_birthday.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_boolean.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_checkbox.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_country.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_cover.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_currency.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_datetime.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_discuss_signature.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_dropdown.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_easyblog_adsense.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_easyblog_desc.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_easyblog_permalink.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_email.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_file.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_gender.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_header.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_headline.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_html.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_joomla_email.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_joomla_fullname.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_joomla_language.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_joomla_password.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_joomla_timezone.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_joomla_user_editor.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_joomla_username.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_kunena_signature.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_mailchimp.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_mollom.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_multidropdown.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_multilist.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_multitextbox.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_permalink.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_recaptcha.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_relationship.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_separator.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_terms.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_textarea.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_textbox.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_text.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_fields_user_url.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_categories.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_categories.sys.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_contacts.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_contacts.sys.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_content.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_content.sys.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_jevents.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_jevents.sys.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_newsfeeds.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_newsfeeds.sys.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_tags.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_tags.sys.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_weblinks.ini >> fr-FR.com_easysocial.ini
cat fr-FR.plg_finder_weblinks.sys.ini >> fr-FR.com_easysocial.ini
·
Friday, 30 May 2014 15:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sylvain ROGER,

You're welcome. Glad to hear your issue have been resolved.
If you have anymore question, please don't hesitate to ask us and please create a new ticket. I will mark this ticket as resolved.

Thanks again and have a wonderful day.
·
Friday, 30 May 2014 16:31
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post