The with kalium delivered option for the menus looks nice and the possibility to have automatic text on login or not logged in state is perfect.
But one addition by me: The "menu mini widget" is not for multi language sites.
in header-functions.php on line 591 and following there is the code not ready for translations based on custom input. It would be nice to have the same "mini-widget" with WPML compatibility.
The with kalium delivered option for the menus looks nice and the possibility to have automatic text on login or not logged in state is perfect.
But one addition by me: The "menu mini widget" is not for multi language sites.
in header-functions.php on line 591 and following there is the code not ready for translations based on custom input. It would be nice to have the same "mini-widget" with WPML compatibility.
Hi Andre,
You are correct on this, thank you for letting us know. Can you please add the following code in this file:
(view large image)
The code:
And see if it will be elligible for translation.
In Kalium v4.0 we are going to change header builder and this should be automatically translatable.
I tried it but couldn't found the string in the .mo / .po files. Or do you mean to translate it with string translation?
Hi Andre,
Yes, it will be auto registered using wpml_register_single_string hook on String Translation since it is dynamic string.
Have you tried searching these values in WPML String Translation management page?
Now i tried to translate via MO / PO but you are absolutely right - it' only a string and it's there now.
Thanks.
Attached files: Screenshot (365).png
Yes, all multilingual plugins treat dynamic strings and we provide full support for WPML.
For your information, you can check these functions implementation:
(view large image)