• Resolved frobertgraphiste

    (@frobertgraphiste)


    Hi there,

    It seems this plugin doesn’t work well with TranslatePress since it loads the strings dynamically with Javascript. The loading time is really long while no strings are shown + every content selection takes 3-6 seconds for the selection text to appear.

    And we get multiple console errors from the TranslatePress plugin: Failed to load resource: the server responded with a status of 403 ()

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marc Lacroix

    (@marcusig)

    Hi there,

    The loading time is really long while no strings are shown + every content selection takes 3-6 seconds for the selection text to appear.

    I see what you mean. I’m not sure whether there is a solution for this, as that’s how Translatepress works: It needs to do an ajax request to get the translated strings.

    I’ll take a look to see if I can improve this somehow.

    And we get multiple console errors from the TranslatePress plugin: Failed to load resource: the server responded with a status of 403 ()

    I don’t think this is related to the configurator:
    – I don’t get these errors when testing
    – These errors also appear on on your site on pages without the configurator.

    Marc

    Plugin Contributor Marc Lacroix

    (@marcusig)

    Hi! I’ve just released a new version of the plugin with a change affecting TranslatePress.

    There is now a setting enabling you to translate the configurator data from the configurator admin, and thus to disable the dynamic translation, and avoiding the loading time.

    Marc

    Thread Starter frobertgraphiste

    (@frobertgraphiste)

    Hi! Wow thank you so much for this feature.

    This works great!

    I simply ecluded these selectors from the dynamic translation and it’s working as expected:

    .layer-name
    .choice-name
    .selected-choice

    Thank you so much Marc!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘TranslatePress dynamic strings issue’ is closed to new replies.