The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I want to create a language.xml file to easily import some phrases in to the Admin Control Panel to use in a cpnav.xml. I have looked at other language.xml files and tried, but the phrases aren't showing up properly in the cpnav when I view it - the phrases are showing up as the varnames like this:
*[foobar]* *[acp_foo]* *[acp_bar]* instead of: foobar foo bar In the above example "foobar" is the cpnav setting group, and "foo" and "bar" are the settings. This is what my cpnav xml file looks like: Quote:
I created the phrases manually as global cp phrases, but they are not showing up. I would prefer to be able to do it automatically with an xml file. Can someone show me what a language.xml import file, using the above phrases as examples, would look like? |
#2
|
|||
|
|||
![]()
You should create the phrases as AdminCP Global.
|
#3
|
||||
|
||||
![]()
would that be:
<phrasetype name="AdminCP Global" fieldname="cpglobal"> or <phrasetype name="AdminCP Global" fieldname="admincpglobal"> ?? |
#4
|
||||
|
||||
![]()
<phrasetype name="Control Panel Global" fieldname="cpglobal">
|
#5
|
||||
|
||||
![]()
cpglobal does work, but cphome should be used instead - as the phraees are really only required on ACP Home
![]() |
#6
|
||||
|
||||
![]() Quote:
so that would be: <phrasetype name="AdminCP Home" fieldname="cphome"> ??? |
#7
|
||||
|
||||
![]()
Check in the language manager.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|