• Resolved Pawe? Patyk

    (@paulmike)


    Hello,

    1.
    I have translated two files (wppizza-en_PL and wppizza-admin-en_PL), I put them in the directory /wp-content/plugins/wppizza/lang – does not translate the phrase “personal information” and “order details” (there are no such phrases in WPPizza -> Localization)…

    I also tried to transfer files with the translation to the directory /wp-content/languages/plugins – it also does not work.

    The language of the site is set to Polish.
    The site is in one language.

    Why is it not working?

    2.
    Why the page /orders/?wpptx=42… does not look like the page /orders (no header and footer from the visual editor)?

    • This topic was modified 6 years, 8 months ago by Pawe? Patyk.
    • This topic was modified 6 years, 8 months ago by Pawe? Patyk.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author ollybach

    (@ollybach)

    that’s because those 2 phrases are in “order form settings” as they are only used in the “order confirmation form”

    Plugin Author ollybach

    (@ollybach)

    >Why the page /orders/?wpptx=42… does not look like the page /orders (no header and footer from the visual editor)?

    because you probably got some errors somwhere . enable debug and check your debug log

    Thread Starter Pawe? Patyk

    (@paulmike)

    Thanks. Translation is already working.

    Ad. 2)
    There are no PHP/JS errors:
    https://mammamia.bialystok.pl/nasze-menu/

    • This reply was modified 6 years, 8 months ago by Pawe? Patyk.
    Plugin Author ollybach

    (@ollybach)

    sure about that (just making sure )?
    have you enabled debug ?

    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
    define(‘WP_DEBUG_DISPLAY’, false);/*this should NEVER be true for production sites*/

    Thread Starter Pawe? Patyk

    (@paulmike)

    Of course I have debugging enabled.

    Plugin Author ollybach

    (@ollybach)

    ok (didnt mean to be rude, but let’s just say i’ve been here before people saying they have done stuff when thy had not)

    anyway. i can see this

    
    PHP Notice:  Undefined offset: 0 in .../wp-content/themes/siteorigin-unwind/inc/template-tags.php on line 496
    PHP Notice:  Trying to get property of non-object in .../wp-content/themes/siteorigin-unwind/inc/template-tags.php on line 496
    PHP Notice:  Undefined offset: 0 in .../wp-content/themes/siteorigin-unwind/inc/template-tags.php on line 496
    PHP Notice:  Trying to get property of non-object in .../wp-content/themes/siteorigin-unwind/inc/template-tags.php on line 496
    

    which might (or might not) be related
    have you tried a different theme (like 2016) even if it is just temporarily ?

    for example if you just go here
    https://demo.wp-pizza.com/twentysixteen/orders/?wpptx=123456
    which is a standard install using 2016 theme out of the box i/you get the full header footer etc etc (with an error in the middle of course as that id does not exist)

    if i go to the equivalent on your site
    https://mammamia.bialystok.pl/orders/?wpptx=123456
    most stuff is missing for reasons i cannot know (might be some plugin, mightbe som theme settinsg )

    Plugin Author ollybach

    (@ollybach)

    PS using and installing the theme you are using here works fine out of the box
    (but i also cannot see or at least find any visual editor either,,,)

    Thread Starter Pawe? Patyk

    (@paulmike)

    Where do you see these messages (not bugs)?

    The theme turned out to be a problem…
    Thank you for your help.

    Plugin Author ollybach

    (@ollybach)

    in your debug.log
    mammamia.bialystok.pl/wp-content/debug.log

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Translation does not work’ is closed to new replies.