1

I can see in the CP (craft 3) that my sections have a 'translatable' icon but I don't find anywhere in the UI to translate section names.

enter image description here

What's the best way to translate these?

1

I haven't found how to do it through the UI but it's possible to add the section names in translation files as keys and then translate them in the views using {{ "key_name" | translate }}.

You must follow this example but keeping in mind the translations folder changed its location and structure from Craft 2 to Craft 3.

You have to place it right under your project directory:

yourProject
|--templates
|--translations/
|---en/
|-----site.php
|---es/
|-----site.php
|--vendor
| improve this answer | |

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.