Loading a specific ini file - Joomla! Forum - community, help and support
if want use language file plugin, language file create should named after plugin. usual convention plugins, if i'm right this:
plg_[group]_[plugin_name].ini (for .sys.ini file convention same)
besides, if want load language file, this:
where [root_folder] jpath_root or jpath_administrator, depending on have language file ( plugins, usual place, @ least in recent joomla versions, in administrator. besides, make sure file created utf-8 encoded!
i hope helps!
plg_[group]_[plugin_name].ini (for .sys.ini file convention same)
besides, if want load language file, this:
code: select all
jfactory::getlanguage()->load( 'com_componentname', [root_folder] )where [root_folder] jpath_root or jpath_administrator, depending on have language file ( plugins, usual place, @ least in recent joomla versions, in administrator. besides, make sure file created utf-8 encoded!
i hope helps!
hi tanko25
i read post want add language said
but cant , can explain more?
or give me sample
i read post want add language said
but cant , can explain more?
or give me sample
Comments
Post a Comment