This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

carpentier.o52569
carpentier.o52569

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

daftspunky
daftspunky

Here's how to customise the component markup:

  1. Open the "account" page in the CMS via the backend
  2. Hold down CTRL key
  3. 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

carpentier.o52569
carpentier.o52569

Hi,

It works, Thank you !

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.