I use a lot of modules and templates, in which I have to print a lot of display markups.

My website has primary language FR, but whatever I do, each time I use a translatable string, it's always EN that is set for that t('whatever').

I'd like to be able to write all my custome code in French, and then translate strings into english in the interface.

Is it any way to achieve that?

1 Answer 1


No unfortunately, strings passed to t() should always be in English.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.