Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • abealpha Friend
    #192532

    hi 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 Friend
    #513496

    Hello,

    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 Friend
    #513584

    Works perfectly, thank you! :-*

    Thanh Nguyen Viet Friend
    #513633

    Please 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/25610

    abealpha Friend
    #513882

    I try it but this do not apper :S

    Thanh Nguyen Viet Friend
    #513923

    yes, your review needs an approval from JED team.

    It is showing now and very appreciated

    Thanks and good luck.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  Thanh Nguyen Viet 5 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum