jDiction Forum

English => General Questions => Topic started by: Xtream on October 23, 2013, 01:34:13 pm

Title: Is it possible to translate meta information?
Post by: Xtream on October 23, 2013, 01:34:13 pm
How is possible to translate meta description, Link Title Attribute and Browser Page Title which are in menu settings?
Title: Re: Is it possible to translate meta information?
Post by: Harald Leithner on October 23, 2013, 02:39:11 pm
Take the file from here: http://forum.jdiction.org/index.php/topic,452.msg1297.html#msg1297
and update libraries\jdiction\tables\menus.xml

with this you can change the Browser Page Title.

For the other Attributes you have to add them to the xml file

You find the fields in administrator\components\com_menus\models\forms\item_component.xml

just copy it to the menus.xml

Code: [Select]
<field name="menu-anchor_title" type="text"
label="COM_MENUS_ITEM_FIELD_ANCHOR_TITLE_LABEL"
description="COM_MENUS_ITEM_FIELD_ANCHOR_TITLE_DESC" />

Code: [Select]
<field name="menu-meta_description" type="textarea"
label="JFIELD_META_DESCRIPTION_LABEL" description="JFIELD_META_DESCRIPTION_DESC"
rows="3" cols="40" />

btw no search engine cares about the meta description
Title: Re: Is it possible to translate meta information?
Post by: Xtream on October 23, 2013, 06:30:49 pm
Thank you for this.
Now I understand how to add core fields for translation.