Forum Replies Created

Viewing 15 replies - 1 through 15 (of 28 total)
  • Thread Starter gjfo

    (@gjfo)

    Thank you for your return. I will try to make is simple.

    First for the language toggle I am using WPLM to synchronize both languages of the website. And I see a language toggle on my site. It is the 5th one. The website is primilary in French and the toggles are partly translated in French.

    https://snipboard.io/lEC7eB.jpg

    I am only need the langue toggle and the static pages Toggle.

    I try to show this widget only on 4 specific pages. So I clicked the Except fields for all other pages. But the widget is showing on every pages.

    GJ

    Thread Starter gjfo

    (@gjfo)

    Hello Alex,

    I will try to explain what I did and what is working fine in the French version first.

    In pages Accueil, Activités, Notre histoire and Nous joindre I set Dynamic Widgets to be working only on these pages setting Languages Toggle with Except English. I also set the Dymanic Widgets Toggle Static pages checking every other pages. The widget is working perfectly.

    This is the widget:

    [vc_row css_animation="" row_type="row" use_row_as_full_screen_section="no" type="full_width" angled_section="no" text_align="right" background_image_as_pattern="without_pattern" z_index=""][vc_column][button size="medium" target="_self" hover_type="default" text_align="center" text="RéSERVEZ" link="https://coteauxmissisquoi.com/#reservation" color="#ffffff" hover_color="#ffffff" background_color="#374923" hover_background_color="#374923" border_color="#374923" hover_border_color="#374923" border_radius="5" custom_class="res"][/vc_column][/vc_row]

    I have to set a different widget pour each of the accommodation to link to an anchor in the middle of the page. So I set Dymamic Widgets to the Toggle Language to except English and also set Static pages excepting every orher pages than the specific accommodation in the sub menu.

    I set a different widget button for each of the 7 accommodations. Here is one of these widgets:

    [vc_row css_animation="" row_type="row" use_row_as_full_screen_section="no" type="full_width" angled_section="no" text_align="right" background_image_as_pattern="without_pattern" z_index=""][vc_column][button size="medium" target="_self" hover_type="default" text_align="center" text="RéSERVEZ" link="https://coteauxmissisquoi.com/nos-gites/le-lievre/#reservation" color="#ffffff" hover_color="#ffffff" background_color="#374923" hover_background_color="#374923" border_color="#374923" hover_border_color="#374923" border_radius="5" custom_class="res"][/vc_column][/vc_row]

    And everything is working fine for this language.

    So I set the same thing for the English version.

    I set the Book Now widget Button in the Dymanic Widgets Toggle to Except French. I also set Static pages to show Home, Activities, Our story and Contact us. And check to expect all other pages.

    This is the widget content:

    [vc_row css_animation="" row_type="row" use_row_as_full_screen_section="no" type="full_width" angled_section="no" text_align="right" background_image_as_pattern="without_pattern" z_index=""][vc_column][button size="medium" target="_self" hover_type="default" text_align="center" text="BOOK NOW" link="https://coteauxmissisquoi.com/#book-now" color="#ffffff" hover_color="#ffffff" background_color="#374923" hover_background_color="#374923" border_color="#374923" hover_border_color="#374923" border_radius="5" custom_class="res"][/vc_column][/vc_row]

    I also set another widget button for one of the accommodation page with a different link and anchor to this page : https://coteauxmissisquoi.com/en/accommodation/le-lievre/

    [vc_row css_animation="" row_type="row" use_row_as_full_screen_section="no" type="full_width" angled_section="no" text_align="right" background_image_as_pattern="without_pattern" z_index=""][vc_column][button size="medium" target="_self" hover_type="default" text_align="center" text="BOOK NOW" link="https://coteauxmissisquoi.com/en/accommodation/le-lievre/#book-now" color="#ffffff" hover_color="#ffffff" background_color="#374923" hover_background_color="#374923" border_color="#374923" hover_border_color="#374923" border_radius="5" custom_class="res"][/vc_column][/vc_row]

    I set the Dymanic Widgets Language Toggle with Expect French and set the Static pages Toggle To expect everything but stay alive Le lievre sub Accommodation page.

    I always access Dymanic Widgets via the link at the bottom of the specific widget.

    I do not set the 6 other accommodation buttons yet not to have 7 Book now buttons in the menu.

    I do not know why but sometimes when I go back to the Dymanic Widgets options my setting is diseapering.

    Thank you

    I also can send you a credential if you need via? another way.

    GJ

    Thread Starter gjfo

    (@gjfo)

    And website is working on php 8.1 and WordPress and plugins are up to date

    GJ

    Hi viamultimedia

    The problem seems to be on the Square Payments Processing and not the plugin side. These strings are not in the plugin nor Woocommerce. You should contact Square.

    GJ

    Hi Elvira,

    I desactivate other plugins. I set Storefront and the problem persist.

    The only difference is whem reloading the weird bihaviour still occurs in slow connection but it is in English both times. Both in English is because I do not have translate Storefront before testing it.

    I also test something other. I hardcode a translation directly in your plugin in vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php and also in class-sv-wc-payment-gateway-payment-form.php and it solve the problem completely.

    I know it is a bad way to solve this problem in the futur in case of an upgrade.

    The problem seems to be between translation files and these files. Could you please give me a solution to have a good translation with a po/mo files.

    GJ

    Problem is locate in .po/.mo files
    located in lines:
    2831-32
    2853-36
    2839-40
    2843-44
    3008-09

    Another weird beaviour is when navigate with a slow connection we see the right translation and this part of the page reload and the English tranalation came back lik a kind of redirect.

    If needed can I pm you or send you an email with url or credentials?

    GJ

    Hi Elvira,

    Has I did not get answer from you since 6 days I came back. My problem is still not resolved.

    GJ

    Make as you suggest but no change at all

    GJ

    Hi Elvira,

    As you will see I do not need to translate everything especially in the backend.
    https://pastebin.com/YCa3qLcW
    https://pastebin.com/K6X7ax4y
    https://pastebin.com/qUKKrrYZ
    https://pastebin.com/eeGftJ4N
    https://pastebin.com/EL8d1GvB

    Thread Starter gjfo

    (@gjfo)

    HI Michelle,

    Looks perfect for me.

    How did you update the databases? Just to make it myself in the futur.

    Thank you very much for your help!

    Gj

    Thread Starter gjfo

    (@gjfo)

    The problem is not a translation one but I am not able to erase the firts Donate button. I will send you a screenshot of this problem

    Thread Starter gjfo

    (@gjfo)

    Oups I apoligize so mutch Michelle,

    I have problem with Givewp but n ot only that I also have problems with the theme and with Square. I show you the wronc files and the wrong problem.

    Thread Starter gjfo

    (@gjfo)

    I search for these words and the are not on Woocommerce but on your one .po. I translate them correctly with Poeit but they are not working.

    Card Security Code is on your line 2574 and the translation Numéro de sécurité de la carte on line 2475.
    Card Number is on line 2566 and translation Numéro de la cvarte on line 2567
    Place Order is on your line 2721 and its translation Commander on line 2722.

    All these words are surrounding your iframes.

    GJ

Viewing 15 replies - 1 through 15 (of 28 total)