Multilingual
-
@mariusjopen I would like to do that but unfortunately I can not control neither the front page nor the french landing page. How can I control the landing page?
Thanks -
Dear @Djao-Rakitine
honestly I don't really know how to solve that.
Maybe you can figure out something with try and error.Or don't place text on the home-page?
We plan to make languages possible in the near future.
I hope you can still use LayTheme.
All the best!
Marius
-
Hey please use the latest lay theme which now has multilanguage support:
http://laytheme.com/documentation.html#multilanguage -
Hi Guys,
I think qTranslate is dead since 2016 (the author vanished).
Some guys are turning the plugin in a community driven plugin (https://github.com/qtranslate/qtranslate-xt) and I tested it early may 2019 and it worked flawlessly with layTheme.
It is now broken, but I don't think it's because of a layTheme/qTranslate-XT update but rather a wordpress core update.
Maybe there is not much to chance to make it work again ?
I'll try some tweaks to make it work today. -
@arminunruh & @mariusjopen I found a very little change to make laytheme compatible with the new qtranslate-XT plugin.
https://github.com/qtranslate/qtranslate-xt
The only thing is to update this bit in
frontend.php
// $is_qtranslate_active = is_plugin_active('qtranslate-x/qtranslate.php'); // replace with $is_qtranslate_active = is_plugin_active('qtranslate-x/qtranslate.php') || is_plugin_active('qtranslate-xt-master/qtranslate.php');
and that bit in
gridder.php
// 'qTranslateX' => is_plugin_active( 'qtranslate-x/qtranslate.php' ) // replace with 'qTranslateX' => is_plugin_active( 'qtranslate-x/qtranslate.php' ) || is_plugin_active('qtranslate-xt-master/qtranslate.php')
Going further, I think you could come up with a "fork/version blind" test for qtranslate activation like
$is_qtranslate_active = function_exists('qtranxf_init_language');
But it might complicate things especialy for laygridder as qtranslate must be loaded BEFORE
'qtranxf_init_language'
is tested.I didn't test 100% of the translation functionnalities ( in every blocks : carousel / stacks / grids etc ) but this should still be a no-cost improvement to implement :) !
-
Dear @rsepierre
awesome!
But we do not recommend to make changes in the PHP template because they will get overwritten on the next backup.I will have a look with Armin in this!
Best!
Marius
-
Ok nice!! I just added your code, yea I will have to test this too
-
Hi!
Just read through this thread and was wondering if there had been any progress since July. We are currently considering using Laytheme for a client who definitely needs a multilingual site, would be very helpful to get an idea where it is currently standing :-)
Looking forward to read from you,
Best,
Clara -
-
Hi,
same for me, I need to find solution for multilanguage/ bilingual.As qtranslate is not working (anymore) / as @arminunruh wrote to me: "qtranslate x doesn't work with newer php versions"... "qtranslate x is discontinued, it is not in development anymore. I tried to make qtranslate-xt work for laytheme but it seems it doesn't work properly."
Has anyone experience with using the WPML plugin in laytheme? Does it work properly in the frontend? I'm not a fan of WPMLs yearly paying concept.
All best!
Max -
hey @Xamreglip so i tried out qtranslate xt and it works for me.
you need to pay yearly for wpml only if you want to keep getting updates afaik. seeing if wpml works for lay theme is on my todo list
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it