Skip to main content

Questions tagged [localization]

Locales and multi-lingual translations.

Filter by
Sorted by
Tagged with
4 votes
2 answers

Is it possible to manage language translations without directly accessing the PHP translations file?

It is beautifully described in the docs how to translate static text using translation files. As the client has no access to that file and managing a php array is not what I want them to do, I am ...
carlcs's user avatar
  • 36.3k
4 votes
1 answer

What's that |t - filter for?

I found this part of code in the documentation {% set title = "Cocktail Recipes"|t %} What does |t mean there?
nicael's user avatar
  • 2,382
25 votes
9 answers

How can I build a language switcher?

I'm currently building a site with two languages, and I need a language switcher so wherever you enter the website you can switch the language easily. I've come this far: {% for locale in craft.i18n....
KSPR's user avatar
  • 3,786
9 votes
3 answers

What accurately will set asset paths for multilingual sites?

This is actually a fairly crucial matter, since relative paths definitely won't work with languages, unless you really want all assets in a given Source to be localized or at least copied to each ...
narration_sd's user avatar
  • 1,707

5 6 7 8