Replies: 1 comment
-
|
Adding some context! Shipping categories are not elements, so this is apt to be a significant change… in the interim, you can store static message translations in your project, and output them in the front-end: {{ shippingCategory.name | t }}
return [
'My shipping category name' => 'Mi categoría de envío',
];These keys have to be kept in sync with the names managed via the control panel—but if they ever diverge, Craft will fall back to the original/real label. Note There are a few localization plugins that allow you to manage these translations in the database. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
would it be possible to enable adding some fields to shipping categories?
I hope we are using it well, but for example we have a general shipping categories "Deliver in 48h", which cannot be translated in different language, so the translation is hard coded.
Beta Was this translation helpful? Give feedback.
All reactions