Language files in front-end forms

9 года 3 мес. назад - 9 года 3 мес. назад #1001 от Eduardo Mena
Eduardo Mena создал тему: Language files in front-end forms
In front-end forms, CC always loads the administrator language files.
$lang = JFactory::getLanguage();
$lang->load('com_my_component', JPATH_ADMINISTRATOR);
I always end up changing the path in order to load the front end language file.
$lang = JFactory::getLanguage();
$lang->load(' com_my_component', JPATH_BASE);
Im just wondering if this is made on purpose or if this is a minor bug.
Последнее редактирование: 9 года 3 мес. назад пользователем Eduardo Mena.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

9 года 3 мес. назад #1007 от Victor
Victor ответил в теме Language files in front-end forms
Hi Eduardo,

Thank you for taking the time to report this issue. This problem has been patched so if you build your components, all of them will have the problem fixed.

Best regards

Back-end developer on Component Creator

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.048 секунд
Работает на Kunena форум

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.