English > General Questions

Is it possible to translate meta information?

(1/1)

Xtream:
How is possible to translate meta description, Link Title Attribute and Browser Page Title which are in menu settings?

Harald Leithner:
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: ---<field name="menu-anchor_title" type="text"
label="COM_MENUS_ITEM_FIELD_ANCHOR_TITLE_LABEL"
description="COM_MENUS_ITEM_FIELD_ANCHOR_TITLE_DESC" />
--- End code ---


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

btw no search engine cares about the meta description

Xtream:
Thank you for this.
Now I understand how to add core fields for translation.

Navigation

[0] Message Index

Go to full version