Jump to content

Adding a Language Phrase Category


Big Spender

Recommended Posts

If I add a new category of phrases into definitions.xml it shows via Languages in the admin area for use and works fine, the dropdown to select the group however is blank, is there anything I can do to get this to display the title?

 

If not I will just name it with a '_' at the beginning to push the row to the top of the list.

Link to comment
Share on other sites

"[A new category of phrases] shows via Languages..."

 

By 'category', do you mean a <group>?

 

"... the dropdown to select the group is blank."

 

If, after having added a new <group name="new_category">, the entire group selector drop-down is now empty?, Or just a blank line where the new group should be listed among all the others?

Link to comment
Share on other sites

Please also add a new <string> to the <group name="translate"> group into each language file you intend to be using:

<string name="phrase_group_new_phrase_group" introduced="5.0.0"><![CDATA[New Phrase Group - Phrases used in my new phrase group]]></string>
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...