Language files in front-end forms
Eduardo Mena
Membre junior
Posts: 31
il y a 9 ans 1 mois - il y a 9 ans 1 mois #1001
par Eduardo Mena
Language files in front-end forms a été créé par Eduardo Mena
In front-end forms, CC always loads the administrator language files.I always end up changing the path in order to load the front end language file.Im just wondering if this is made on purpose or if this is a minor bug.
$lang = JFactory::getLanguage();
$lang->load('com_my_component', JPATH_ADMINISTRATOR);
$lang = JFactory::getLanguage();
$lang->load(' com_my_component', JPATH_BASE);
Dernière édition: il y a 9 ans 1 mois par Eduardo Mena.
Connexion ou Créer un compte pour participer à la conversation.
Victor
Administrateur
Posts: 19
il y a 9 ans 1 mois #1007
par Victor
Back-end developer on Component Creator
Réponse de Victor sur le sujet 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
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
Connexion ou Créer un compte pour participer à la conversation.
Temps de génération de la page : 0.048 secondes