Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Multilingual

Multilingual

Scheduled Pinned Locked Moved General Discussion
featuresmultilingualplease
37 Posts 12 Posters 6.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mariusjopenM mariusjopen

    Dear @Djao-Rakitine
    can you make a test page which you can share with us?

    Best!

    Marius

    D Offline
    D Offline
    Djao-Rakitine
    wrote on last edited by
    #23

    @mariusjopen

    This is the web site:

    http://djaorakitine.com/

    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!!!!

    1 Reply Last reply
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #24

      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

      www.mariusjopen.world

      D 1 Reply Last reply
      0
      • mariusjopenM mariusjopen

        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

        D Offline
        D Offline
        Djao-Rakitine
        wrote on last edited by
        #25

        @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!

        1 Reply Last reply
        0
        • mariusjopenM Offline
          mariusjopenM Offline
          mariusjopen
          Global Moderator
          wrote on last edited by
          #26

          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

          www.mariusjopen.world

          D 1 Reply Last reply
          0
          • mariusjopenM mariusjopen

            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

            D Offline
            D Offline
            Djao-Rakitine
            wrote on last edited by
            #27

            @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

            1 Reply Last reply
            0
            • mariusjopenM Offline
              mariusjopenM Offline
              mariusjopen
              Global Moderator
              wrote on last edited by
              #28

              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

              www.mariusjopen.world

              1 Reply Last reply
              0
              • arminunruhA Offline
                arminunruhA Offline
                arminunruh
                Global Moderator
                wrote on last edited by
                #29

                Hey please use the latest lay theme which now has multilanguage support:
                http://laytheme.com/documentation.html#multilanguage

                1 Reply Last reply
                1
                • R Offline
                  R Offline
                  rsepierre
                  wrote on last edited by
                  #30

                  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.

                  R 1 Reply Last reply
                  0
                  • R rsepierre

                    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.

                    R Offline
                    R Offline
                    rsepierre
                    wrote on last edited by
                    #31

                    @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 :) !

                    1 Reply Last reply
                    0
                    • mariusjopenM Offline
                      mariusjopenM Offline
                      mariusjopen
                      Global Moderator
                      wrote on last edited by
                      #32

                      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

                      www.mariusjopen.world

                      1 Reply Last reply
                      0
                      • arminunruhA Offline
                        arminunruhA Offline
                        arminunruh
                        Global Moderator
                        wrote on last edited by arminunruh
                        #33

                        Ok nice!! I just added your code, yea I will have to test this too

                        1 Reply Last reply
                        0
                        • N Offline
                          N Offline
                          nova
                          wrote on last edited by
                          #34

                          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

                          1 Reply Last reply
                          0
                          • mariusjopenM Offline
                            mariusjopenM Offline
                            mariusjopen
                            Global Moderator
                            wrote on last edited by
                            #35

                            Dear @nova
                            I will check back with Armin about it.

                            Best!

                            Marius

                            www.mariusjopen.world

                            1 Reply Last reply
                            0
                            • X Offline
                              X Offline
                              Xamreglip
                              wrote on last edited by
                              #36

                              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

                              1 Reply Last reply
                              0
                              • arminunruhA Offline
                                arminunruhA Offline
                                arminunruh
                                Global Moderator
                                wrote on last edited by
                                #37

                                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

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                I also code custom websites or custom Lay features.
                                šŸ’æ Email me here: šŸ’æ
                                info@laytheme.com

                                Before you post:
                                1. When using a WordPress Cache plugin, disable it or clear your cache.
                                2. Update Lay Theme and all Lay Theme Addons
                                3. Disable all Plugins
                                4. 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:
                                1. Post a link to where the problem is
                                2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                                3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                                Online Users
                                Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                                laytheme.com
                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Search