Forum Replies Created

Viewing 15 replies - 46 through 60 (of 113 total)
  • Thread Starter Ben

    (@ben69007)

    Hello Timwhitlock,

    Thanx for the light speed response.
    Yes I imagine this is a recurrent question -_-‘ Yep, easily understandable. This is not the basic role of the plugin. No problem.

    By the way, could you just tell how the plugin works with wordpress. Supposing the .mo files exist, will the website be translated in the country visitor language even if default language of wordpress is another (checking his ip address?)

    Or do you think I will be able to find tweak with some codes. Maybe some codes associated to buttons to switch default wordpress language ? Do you think it could work ?

    Yes I know other translator plugins permits to switch language on frontend but I prefer yours, and work with yours, I like the way it works.

    • This reply was modified 8 years, 5 months ago by Ben.

    Hello Sanc,

    Did you try with a link like

    <a href="[oneclick_link]" target="_blank">Unsubscribe</a>

    Best regards

    • This reply was modified 8 years, 6 months ago by Ben.

    But I couldn’t* know the reason.. (sorry)

    Dear Will,

    I don’t know this theme, but what I’ve seen in the CSS code is that there seems to be another comment form hidden where the StCR appears. Put display visible on the .lrp.hid in your CSS code and you will see it :

    .lrp.hid {
        display: inline-block !important;
    }

    But I could know the reason why it appears here and not in the first form, and how to fix it. Maybe can you configure it in your theme option ?

    Best regards

    • This reply was modified 8 years, 6 months ago by Ben.

    Hello Will,

    Did you try to set StCR Position to “Yes”, empty cache and reload your page ?

    Could you provide the name of the Theme you use, It may help the plugin author.

    Best regards

    Forum: Plugins
    In reply to: [WooCommerce] translations

    While reading the Loco Translate support forum, I think I’ve found some responses in these topics, for those who would be interested about this :

    https://www.ads-software.com/support/topic/translation-persistance-woocommerce/#post-7587258

    https://www.ads-software.com/support/topic/woocommerce-translation-13/

    https://www.ads-software.com/support/topic/po-file-has-different-source-strings-to-woocommercepot/

    Loco Translate seems to be able to translate WordPress, themes and other plugins too.

    Forum: Plugins
    In reply to: [WooCommerce] translations

    Thanks a lot lorro for your answer, and for the explanation and to have taking the time to check it on your side. As you probably guess I’m not a pro so, yes I think that a support of a developper would be the best because I couldn’t find which would be the cause.. other plugins, conflicts, configuration. But I understand what you are talking about, and the logic of the non execution of the if(). I was asking myself why I didn’t see the $domain value.

    I have never tried to use a language translation plugin. I had a look on some of them, one time. I’ve noticed WPML, POLYLANG and LOCO too, the one you told about. I think I would choose this solution and follow your recommandation. Just one question (or maybe 2), do all these kind of plugins keep translation safe ? And which one would you suggest if there is a need to translate both Woocommerce and WordPress ? Did Loco translate only Woocommerce (if I have good understanding).

    Wish you a great day

    Forum: Plugins
    In reply to: [WooCommerce] translations

    Dear lorro,

    Thank you for your reply, appreciated!

    I see with your code different .mo files output. Strangely, I don’t see the file mywoocommerce-fr_FR.mo but I see the file woocommerce-fr_FR.mo in the listed folder /wp-content/languages/woocommerce. Here is what I see :

    minezine
    function called/homepages/xxx/htdocs/wordpress/wp-content/languages/themes/minezine-fr_FR.mo
    function called/homepages/xxx/htdocs/wordpress/wp-content/themes/minezine-premium/languages/fr_FR.mo
    woocommerce-jetpack
    function called/homepages/xxx/htdocs/wordpress/wp-content/languages/plugins/woocommerce-jetpack-fr_FR.mo
    function called/homepages/xxx/htdocs/wordpress/wp-content/plugins/woocommerce-jetpack/langs/woocommerce-jetpack-fr_FR.mo
    woocommerce
    function called/homepages/xxx/htdocs/wordpress/wp-content/languages/woocommerce/woocommerce-fr_FR.mo
    function called/homepages/xxx/htdocs/wordpress/wp-content/languages/plugins/woocommerce-fr_FR.mo
    akismet
    function called/homepages/xxx/htdocs/wordpress/wp-content/languages/plugins/akismet-fr_FR.mo
    breadcrumb-navxt
    function called/homepages/xxx/htdocs/wordpress/wp-content/languages/plugins/breadcrumb-navxt-fr_FR.mo
    function called/homepages/xxx/htdocs/wordpress/wp-content/plugins/breadcrumb-navxt/languages/breadcrumb-navxt-fr_FR.mo
    regenerate-thumbnails
    function called/homepages/xxx/htdocs/wordpress/wp-content/languages/plugins/regenerate-thumbnails-fr_FR.mo
    recaptcha
    function called/homepages/xxx/htdocs/wordpress/wp-content/languages/plugins/recaptcha-fr_FR.mo
    function called/homepages/xxx/htdocs/wordpress/wp-content/plugins/languages/recaptcha-fr_FR.mo
    wp-super-cache
    function called/homepages/xxx/htdocs/wordpress/wp-content/languages/plugins/wp-super-cache-fr_FR.mo
    function called/homepages/xxx/htdocs/wordpress/wp-content/plugins/wp-super-cache/languages/wp-super-cache-fr_FR.mo

    So I tried to change the code like this (changing mywoocommerce-fr_FR.mo file in woocommerce-fr_FR.mo) :

    add_filter( 'load_textdomain_mofile', 'load_custom_plugin_translation_file', 10, 2 );
    /*
     * Replace 'textdomain' with your plugin's textdomain. e.g. 'woocommerce'. 
     * File to be named, for example, woocommerce-fr_FR.mo
     * File to be placed, for example, /wp-content/languages/woocommerce/woocommerce-fr_FR.mo
     */
    function load_custom_plugin_translation_file( $mofile, $domain ) {
    	echo 'function called';
    	echo $mofile;
    	echo $domain;
    	if ( 'woocommerce' === $domain ) {
    		$mofile = WP_LANG_DIR . '/woocommerce/woocommerce-' . get_locale() . '.mo';
    	}
    return $mofile;
    }

    ..without success :'(
    It seems the function doesn’t surpass the original translation file

    • This reply was modified 8 years, 6 months ago by Ben.

    Hello mates,

    I don’t know for you? but on my side my woocommerce translation .mo file has been broken with the new Woocommerce update. I tried to follow another discussion in this topic with an additionnal code in functions.php file, but without success for now.

    Any help is much welcome,

    Thanx guys and have a great day.

    Forum: Plugins
    In reply to: [WooCommerce] translations

    Hi lorro,

    Thank you for the link.
    I tried this method “Making your translation upgrade safe” but there is something wrong here.. There it is:

    Original woocommerce .po and .mo files are located here:
    /wp-content/languages/plugins/woocommerce-fr_FR.po
    /wp-content/languages/plugins/woocommerce-fr_FR.mo

    My custom woocommerce translated files are named and located here:
    /wp-content/languages/woocommerce/mywoocommerce-fr_FR.po
    /wp-content/languages/woocommerce/mywoocommerce-fr_FR.mo

    Code in my functions.php file:

    add_filter( 'load_textdomain_mofile', 'load_custom_plugin_translation_file', 10, 2 );
    /*
     * Replace 'textdomain' with your plugin's textdomain. e.g. 'woocommerce'. 
     * File to be named, for example, mywoocommerce-fr_FR.mo
     * File to be placed, for example, /wp-content/languages/woocommerce/mywoocommerce-fr_FR.mo
     */
    function load_custom_plugin_translation_file( $mofile, $domain ) {
      if ( 'woocommerce' === $domain ) {
        $mofile = WP_LANG_DIR . '/woocommerce/mywoocommerce-' . get_locale() . '.mo';
      }
      return $mofile;
    }

    I do not have any effect.
    Could you please tell me what I am doing wrong ?
    Many thanx

    • This reply was modified 8 years, 6 months ago by Ben.
    • This reply was modified 8 years, 6 months ago by Ben.

    No problem Thimo, many thanks for your response.

    Hi again Thimo,

    Is it possible to customize which categories appear in the drop down menu. It seems to be default Spreadshirt’s categories, but for me (for exemple) I only have Men / Women / Accessories in personnalized categories (with 3 different ID numbers). Is it possible to put off default categories, and put our personnalized ones ?

    Thanks again for your help and congratulations for those updates.
    Ben.

    Thread Starter Ben

    (@ben69007)

    Hey Reedyseth,

    Thanks again for your fast reply.
    No problem ! Easily understandable, your plugin is so powerful.

    I will temporaly desactivate this option as you explained in this topic.

    Do what you have to do, this option can wait !
    Take care, and thanx again

    Thread Starter Ben

    (@ben69007)

    Hello Reedyseth,

    I’ve received the new StCR v3.0.0 and installed it. Thanx for this new version.

    Everything seems to work good here for me, except this issue which I told you about. Does this version should fix it or not for the moment ? I have made some different test with different email address but it doesn’t work (and it seems not working for logged in, but also for logged out users).

    Visibly the [subscribe_link] shortcode redirects good to the subscription page with the email field to fill, but when the email address is sent it seems to go to the Manager page process.

    Did you reproduce it or did I something wrong ?
    Thank you for your help

    Hello Caleb,
    Thank you for your help.
    I’ve put the files in wp-content/languages/woocommerce/ (which I created because I didn’t have this folder). Original woocommerce .po and .mo files are in wp-content/languages/plugins/ for me.
    It is working very good for now.
    Thanx Mike & Caleb.

Viewing 15 replies - 46 through 60 (of 113 total)