CookieYes & adding Falang translation
-
Hi,
First off, thanks for the work on CookieYes, I love the new interface & layout, happy with the accessibility and the language tab!
For website translation, I have been happily using Falang Multilanguage (www.ads-software.com/plugins/falang/) for years. Developer Stéphane Bouey helped me a few years ago fixing the string translation for the (now legacy interface) of CookieYes and that has been working well since. I asked him for a solution to have Falang working with the new CookieYes interface.
So he created a modified version of his plugin (to be published next week) and gave me a modified version of cookie-law-info/lite/includes/class-i18n-helpers.php
It has 3 changes and adds a method similar to polylang (adds falang_current_language and falang_default_language).
changes to class-i18n-helpers.php:
– line 56 added Falang definition
– line 81 inserted Falang part, similar to Polylang entry
– line 127 inserted Falang part, similar to Polylang entryWith that, CookieYes translation works fine again with the new interface, also with Falang.
So my question to you is: Would it be possible to add Falang to the translation possibilities in a future version of your plugin?
I can send you the modified class-i18n-helpers.php, and Stéphane says you can also contact him directly if needed through faboba.com.
Thank you in advance!
Rob
- The topic ‘CookieYes & adding Falang translation’ is closed to new replies.