0

I need to have different .phtml files(or parts of one) per locale.

my filepath is:

design/frontend/<vendor>/<theme>/<module>/template/<path>/page.phtml

Where I have to make the folder

i18n/<locale>

and localized page.phtml?

Or alternative, how can I check the current locale to use "if" for my purposes? (I prefer first solution)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.