jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Author Topic: Is it possible to translate meta information?  (Read 11621 times)

Xtream

  • Newbie
  • *
  • Posts: 13
    • View Profile
Is it possible to translate meta information?
« 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?
« Last Edit: October 23, 2013, 01:56:07 pm by Xtream »
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Is it possible to translate meta information?
« Reply #1 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
Logged
Joomla! 5.0 Release Manager
Vote at JED

Xtream

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Is it possible to translate meta information?
« Reply #2 on: October 23, 2013, 06:30:49 pm »

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