This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hello everyone! As I didn't find any solution for this, I decided to post here a new topic. It is possible and it works great to create theme.yaml files or for StaticPages a blocks.yaml for a PageBuilder option. As far as i see it is not possible to translate this files.
For example if I have a comment field with some advices for the user, I can only set this in one language. But if the Backend language preferences changes it don't translate to that certain language.
Is there any solution for now? Thanks in advance!
Currently you can achieve this by providing translations with an accompanying plugin that you can require from your theme. However I can see us providing a native way to do so in the future. Do you have any suggestions for how it could be accomplished?
I would be great to have it like GravCMS. They define the translation in the langagues.yaml. See here https://learn.getgrav.org/16/content/multi-language#plugin-and-theme-language-translations
But it also needs to work with the StaticPages plugin. Because the pagebuilder options seems to be used for a lot of themes in the marketplace.
To get the translations working for now, you said I need an accompanying plugin. How does this work? Is there any documentation on that?
Thanky you!
1-3 of 3