Multilingual
-
-
-
-
@mariusjopen This because we do not want to publish it without the correct front page.
I can add the switch for a short windows of time if that can be useful.
Please let me know.
Thanks! -
-
This is the web site:
You will see that, if you switch on FR, the menu and all its contents are correctly translated in french, but not the front page, that is always in English.
I'll keep it with a bilingual version for a short time so you can have a look (so please after have looked at that, tell me so I can remove it).Thanks!!!!
-
Dear @Djao-Rakitine
ok. I see the problem.
I do not see a clean solution for this.
Because LayTheme is not really optimised for this yet.I would try to work around. Can you make a duplicate of the front page and show this one instead?
Best!
Marius
-
@mariusjopen I agree with the idea to work around the issue. What do you mean with a duplicate of the front page? I have already the frontpage translated in French (is the one that is called "projets" in the French menu) but LayTheme allow me to set only one page and the menu is always in English.
Thanks!
-
Dear @Djao-Rakitine
I man that since the plugin in combination with LayTheme does not offer a language switch on the front page, you need to come up with a different solution.Maybe use another page as a french landing page.
I am not talking about a clean solution but something which can me a good compromise.Best!
Marius
-
@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