dirtydavid wrote: This works fine for fields defined in the component, but I cannot find a way to display new field names in different languages.
In 1.9 and earlier we used user defined fields like this:
DEFINE ('cb_english','English (Native)');
DEFINE ('cb_englishok','English (Good)');
DEFINE ('cb_englishbad','English (Poor)');
DEFINE ('cb_german','German (Native)');
DEFINE ('cb_germanok','German (Good)');
DEFINE ('cb_germanbad','German (Poor)');
DEFINE ('cb_dutch','Dutch (Native)');
DEFINE ('cb_dutchok','Dutch (Good)');
DEFINE ('cb_dutchbad','Dutch (Poor)');
DEFINE ('cb_spanish','Spanish (Native)');
DEFINE ('cb_spanishok','Spanish (Good)');
DEFINE ('cb_spanishbad','Spanish (Poor)');
I have tried adding these fields into the original language files and into the language over ride files but they do not display.
If this has now been discontinued, how do we define new fields on a multi lingual site?
David
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
nant wrote: Community Builder 2.0 Tutorial #36.
CB Language Override plugin and how to use it.
Tutorial Playlist: www.youtube.com/playlist?list=PLp0puRITgC7PuyzPsMUECDI46VE7IFSAX
Instructions:
- Install plug_cblanguageoverride.zip using CB Plugin Management page
- Always keep CB Language Override plugin last in CB Plugin Management page list
- Publish CB Language Override plugin
- Copy component->com_comprofiler->plugin->user->plug_cblanguageoverride->language->default_language->language.php file to component->com_comprofiler->plugin->language->wx-yz->cbplugin->cblanguageoverride-language.php (replace wx-yz with your installed language, e.g. en-gb)
- Copy component->com_comprofiler->plugin->user->plug_cblanguageoverride->language->default_language->admin_language.php file to component->com_comprofiler->plugin->language->wx-yz->cbplugin->cblanguageoverride-admin_language.php (replace wx-yz with your installed language, e.g. en-gb)
- add language override definitions to your cblanguageoveride- files as needed.
- See video #36 for example usage
Plugin package:
Please Log in or Create an account to join the conversation.