This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi,
I've just create a "login.htm" page with the "acount component". I would like to change the language from [en] to [fr] for the fields.
I change the language of backend to [fr], the default layout lang option to [fr] and the locate variable in /config/app.php to [fr] but the login page still have english fields (ie : "Enter your e-mail" instead of "Saisir votre adresse e-mail" like translate in lang.php).
Does anybody have an idea how to fix this ? Thank you. Olivier
Last updated
Here's how to customise the component markup:
- Open the "account" page in the CMS via the backend
- Hold down CTRL key
- Double click on the
{% component %}
tag
This will expand the component markup so you can customise it. Sometimes the component will reference partials, you will need to copy thes partials to your theme to customise them also
1-3 of 3