Language files in front-end forms

9 år 2 måneder siden - 9 år 2 måneder siden #1001 af Eduardo Mena
Language files in front-end forms blev oprettet af Eduardo Mena
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.
Sidste redigering: 9 år 2 måneder siden ved Eduardo Mena.

Venligst Log på eller Opret en konto for at deltage i samtalen

9 år 2 måneder siden #1007 af Victor
Besvaret af Victor på emne 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

Venligst Log på eller Opret en konto for at deltage i samtalen

Tid til at oprette siden: 0.053 sekunder
Leveret af Kunena Forum

Vi we benytter cookies, så vi bedst muligt kan levere vores services. For mere information, se vores