Forum Replies Created

Viewing 15 replies - 1 through 15 (of 70 total)
  • Thread Starter derrida

    (@derrida)

    thanks so much. it does work, even though i still get the notice that Translation loading for the <code>gutrs</code> domain was triggered too early. but everything work and display the translation. hopefully this notice will be fixed somehow.

    Thread Starter derrida

    (@derrida)

    i tried to chenge the prefix…. then i get an error it loaded too soon? should i use the init hook instead of after_setup_theme?

    Thread Starter derrida

    (@derrida)

    do i need to prefix the files created by poedit with the prefix gutrs- ? cause i have tried to move the files there and it did not worked

    Thread Starter derrida

    (@derrida)

    ok i fixed the issue running:

    npm install --save-dev ajv@^7

    i assume this should be fixed so we will not need to do it manually

    Thread Starter derrida

    (@derrida)

    so now i even started a whole new clean installation of wordpress and copy pasted this command with the same result!

    any idea what can be the issue?

    • This reply was modified 3 months, 4 weeks ago by derrida.
    Thread Starter derrida

    (@derrida)

    hi

    i obviously know the hand book, i alsop created blocks before with create-block. is there something specific that i have missed? because just for the test, i copy pasted their todo list example and run it…. and got the same error.

    Thread Starter derrida

    (@derrida)

    i have just tested it on a different machine with clean installation and the same issue:

    1. create a pattern in the site editor, and use alignfull and alignwide, because when i insert the pattern into a page those are not respected, and the entire design is a mess.
    2. insert this pattern into a page.
    3. now try to change page template, and the screen freezes!!!
    4. those issues must be fixed. i thought the new editor is totally react app so assumed wp got rid of jQuery!!!!
    Thread Starter derrida

    (@derrida)

    it has the same result. but i found the answer was, that in my custom post type i must add:

    'supports' => ['custom-fields']
    Thread Starter derrida

    (@derrida)

    hi, i have installed wordpress and changed its language to hebrew. then installed woocommerce. i thought it should automatically use habre (as it is in the editor). is there a way to install specifically an hebrew version?

    Thread Starter derrida

    (@derrida)

    hi, first obviously i check these issues on a local machine and not on production sites. i only use woocommerce and the twenty twenty four theme.

    if i use the shortcode, indeed everthing is translated but the down side is that one loose the design flexibility of the blocks version.

    i have tried the storefront theme. first, it is not a block based theme, and secondly, the translation issues persists.

    so i have treid a different block theme, and the same issues.

    this needs to be checked and fixed, becaues it is crucial one can use woocommerce with other languages except english.

    hopefully, you would fix it soon.

    Thread Starter derrida

    (@derrida)

    hi, thanks for answering. but first of all, the plugin also doesn’t translate all strings. second, i cannot find a way to how to use the default templates instead of the blocks one. i removed all customizations, but it still uses the block ones.

    also, if i go to the “manage all templates” i see two files “Page Cart 2” and “Page Checkout 2”. i cannot remove them, and when i try to edit them i see a notice “e.substr is not a function”.

    and in any case both ways are not ideal:

    1- i i will be able to use legacy templates, i lose the design flexibility of the blocks version.

    2- i should not have to use another plugin to translate strings. when in your repository of translations hebrew is set to 97%. you should check what is the cause translations are not working out of the box.

    please, let me know how can i use the legacy templates at least for testing that this will work?

    Thread Starter derrida

    (@derrida)

    so i made a clean local install of woocommerce and default twenty twenty four theme, nothing else, the issue persists.

    here are the images: in the editor everything is translated to hebrew, but on the front end, some are translated some are in english. this is a huge problem!

    https://postimg.cc/gallery/s7DyYs4

    any help?

    Thread Starter derrida

    (@derrida)

    hi, sorry for the delayed response. i have this function that allows to edit products with gutenberg.

    this is the code for allowing products to be edited in the wordpress editor:

    function activate_gutenberg_product( $can_edit, $post_type ) {
     if ( $post_type == 'product' ) {
            $can_edit = true;
        }
        return $can_edit;
    }
    add_filter( 'use_block_editor_for_post_type', 'activate_gutenberg_product', 10, 2 );

    also i do have the layout content size and wide size in the theme.json file. and it works for posts and pages.

    i am testing locally so i have no link to give you.

    Thread Starter derrida

    (@derrida)

    hi i assume the strings are translated since in the editor they are in hebrew, so the issue is not to translate the strings, but that something doesn’t function correctly in the front end.

    Thread Starter derrida

    (@derrida)

    yes, my template does support it, and i have the same experience. so for now it is not possible, unless i change the template that comes with woocommerce. i hope it will be added cause it gives more flexibility to the users.

    by the way, also it will be nice if the add to cart button will be a block on its own. actually, it would be better if all elements would be on its own: the content, each meta….and so on

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