English 中文(简体)
joomla 1.5中“管理者”的固定语言
原标题:set language to administrator menu in joomla 1.5

i have develop a component in joomla 1.5 and make .xml file to install in my .xml i have administrator menu like

<administration><menu>COM_MY_COMP</menu>
    <submenu> 
         <menu task="display">COM_MY_COMP_MENU1</menu> 
        <menu task="additem">COM_MY_COMP_MENU2</menu> 
  </submenu>

以及语言档案中,一把该项目如上。

COM_MY_COMP="My Component"
COM_MY_COMP_MENU1="Dispaly"
COM_MY_COMP_MENU2="Dispaly2"

it working on other item but not on administrator menu , it is not convert to COM_MY_COMP to My Component i use joomla 1.5.

最佳回答

你只能把语言档案添加到手里。 你们需要重新掌握语言档案的内容。 这里,你需要增加xml。

<languages folder="language-admin"> 
     <language tag="en-GB">en-GB/en-GB.com_yourcomponent.ini</language> 
     <language tag="en-GB">en-GB/en-GB.com_yourcomponent.menu.ini</language> 
</languages>

我还要说,如果你想要翻译的话,你将需要一个单独的语言文件,如<条码>en-GB.com_yourcomponent.menu.ini。

下面是它应如何看待。

COM_YOURCOMPONENT="Your Component"
COM_YOURCOMPONENT.CONTROL_PANEL="Control Panel"

希望这一帮助

问题回答

您必须把译文放在这一方面:

/administrator/language/en-GB/




相关问题
cross platform issues in webpages

I am developing some basic html pages, i am setting colors of text usimg color code #e7eddf it seems fine in windows but seems different in mac. Can you explain me why its happening and also ...

How to create breadcumb for custom component in Joomla?

I have a custom component in which I want to have a breadcumb to help the user navigate the previous page visits. The basic feature in my component is to show our product releases. The workflow is: ...

Preloading images

i ve a navigation bar like the one below..for each it changes the background color on mouseover and mouseout and there is a lag to load those images which looks awful :( i wanna know how to preload ...

Joomla conditional menu item

I d like to create a menu item in Joomla that points to one article when the user is logged out, and a different article when the user is logged in. I tried creating two menu items, and make them ...

unable to connect to database on AWS

actually I have my website build with Joomla hosted on hostmonster but all Joomla website need a database support to run this database is on AWS configuration files need to be updated for that I ...

How can you test if you re on the homepage in Joomla?

I m working on a Joomla site, and I need the front page to look slightly different from the rest of the pages, but not enough to warrant the use of two themes (it s a pain to have to update two ...

How to get the current Joomla username?

I m trying to get the current Joomla username. I was able to get it by using $user =& JFactory::getUser(); echo $user->username; But now I ve installed Joomla on my local server and it doesn ...

热门标签