Hi, I've just tested this plugin and it doesn't seem to work with the translation module available here. The error is the following : "Undefined index: community/blog.fr". But it works if you are using the default website language.
Do you plan to make something or could you tell me if there is a way to overwrite the plugin without any risk to loose my modifications during an update ?
Best regards,
Gilles
I needed the same functionality, so I studied the component files and found a simple solution for this problem. It's not that elegant, but it works just fine.
Here's what you can do:
- Install and configure the Rainlab Translate plugin.
- Go to the plugin's directory located in
/plugins/mey/breadcrumbs/components/breadcrumbs
. - Open partial
default.htm
with your favorite text editor and add filter|_
to variablecrumb.title
. The result should look like{{ crumb.title|_ }}
. - Browse through all the pages that contain breadcrumbs so that the translation plugin can see these new translatable strings.
- Go to the backend panel and translate your breadcrumbs.
The only drawback is that you will have to do it again if you update the breadcrumbs plugin and replace partial default.htm
with a newer version.
Hope it will be usefull to someone.
1-2 of 2