-
AuthorPosts
-
abealpha Friend
abealpha
- Join date:
- November 2013
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
November 25, 2013 at 4:03 pm #192532hi all.
First of all congratulations for this fantastic component.
I wonder if there is any way that the Meta Description and Meta Keywords translated.thanks
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
November 26, 2013 at 2:28 am #513496Hello,
The site Meta description and meta keywords are stored in configuration file so they lack multilingual support. But you can override meta data for each Articles and Categories, and edit these files below to let JA Multilingual support translate meta data fields of articles and categories.
1. For articles:
– Open the file: /administrator/components/com_jalang/helpers/content/adapters/content.php– Find the code snippet
[PHP]$this->translate_fields = array(‘title’, ‘introtext’, ‘fulltext’);[/PHP]– And replace it with:
[PHP]$this->translate_fields = array(‘title’, ‘introtext’, ‘fulltext’, ‘metakey’, ‘metadesc’);[/PHP]2. For Categories
– Open the file: /administrator/components/com_jalang/helpers/content/adapters/categories.php– Find the code snippet
[PHP]$this->translate_fields = array(‘title’, ‘description’);[/PHP]– And replace it with:
[PHP]$this->translate_fields = array(‘title’, ‘description’, ‘metakey’, ‘metadesc’);[/PHP]We will try to include this update in the next version. Let us know if you have more suggestions to improve this extension.
Regards
abealpha Friendabealpha
- Join date:
- November 2013
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
November 26, 2013 at 3:38 pm #513584Works perfectly, thank you! :-*
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
November 27, 2013 at 2:00 am #513633Please give a rating for JA Multilingual if you found it useful :), JA Multilingual has been published in JED at
https://extensions.joomla.org/extensions/languages/multi-lingual-content/25610abealpha Friendabealpha
- Join date:
- November 2013
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
November 28, 2013 at 11:51 pm #513882I try it but this do not apper :S
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
November 29, 2013 at 9:45 am #513923yes, your review needs an approval from JED team.
It is showing now and very appreciated
Thanks and good luck.
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by Thanh Nguyen Viet 10 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum