Wordpress Comment box translation












-1















My Wordpress website is in 4 languages. I have already translated my Wordpress theme string in all languages through Loco translate. But the strings which i have attached in screenshots were not include in the string translate file(PO file). Can you please tell me How i can translate my comment portion all 4 languages?enter image description here










share|improve this question





























    -1















    My Wordpress website is in 4 languages. I have already translated my Wordpress theme string in all languages through Loco translate. But the strings which i have attached in screenshots were not include in the string translate file(PO file). Can you please tell me How i can translate my comment portion all 4 languages?enter image description here










    share|improve this question



























      -1












      -1








      -1








      My Wordpress website is in 4 languages. I have already translated my Wordpress theme string in all languages through Loco translate. But the strings which i have attached in screenshots were not include in the string translate file(PO file). Can you please tell me How i can translate my comment portion all 4 languages?enter image description here










      share|improve this question
















      My Wordpress website is in 4 languages. I have already translated my Wordpress theme string in all languages through Loco translate. But the strings which i have attached in screenshots were not include in the string translate file(PO file). Can you please tell me How i can translate my comment portion all 4 languages?enter image description here







      wordpress string translate






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 15 '18 at 14:58









      Adarsh

      9110




      9110










      asked Nov 15 '18 at 10:25









      Ahsan gaditAhsan gadit

      11




      11
























          2 Answers
          2






          active

          oldest

          votes


















          0














          You should add the strings that aren't translated to the appropriate text domain using the function _e(), read more in the codex link. When you added them as needed you will see them shows in Loco.






          share|improve this answer
























          • But if will add the strings which i want to translate in this function. This will only translate for only one language and my translation will show in all other language too. But i want to change these string with respect to different languages.

            – Ahsan gadit
            Nov 15 '18 at 10:36











          • Once you add them in the text domain Loco will recognize them and let you translate them in your 4 languages

            – Sid Biffi
            Nov 15 '18 at 10:38











          • ' _e('Leave a Reply', ' Hinterlasse eine Antwort'); ' Where i should add this code in my wordpress?

            – Ahsan gadit
            Nov 15 '18 at 10:56











          • On the page that the form is included, i need more infos to be helpful but i don't think this is the correct place to discuss it anyway

            – Sid Biffi
            Nov 15 '18 at 11:01



















          0














          I think you can show these comments/string translated by third party API on the frontend, like Google Translate. you can find the Google Translate API.
          For more information, you can see usage here: https://www.npmjs.com/package/google-translate-api



          Note: This is custom coding if you are a developer you can move ahead. Also, this is not like WPML like the plugin, but a lightweight option in WordPress to do it easily. You can try it, so you don't need to translate every time each comment in four languages.






          share|improve this answer
























          • No i can't use Google translate because its a client website. My client doesnot want google translate. I will do custom code but i want little guidance.

            – Ahsan gadit
            Nov 15 '18 at 11:00











          • I'm not recommended to add Google Translate on the whole site, but you can use this jQuery API for comment loop and show the translated string on comment listing. That's it if your other option doesn't work!

            – Baikare Sandeep
            Nov 15 '18 at 11:03













          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53317291%2fwordpress-comment-box-translation%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You should add the strings that aren't translated to the appropriate text domain using the function _e(), read more in the codex link. When you added them as needed you will see them shows in Loco.






          share|improve this answer
























          • But if will add the strings which i want to translate in this function. This will only translate for only one language and my translation will show in all other language too. But i want to change these string with respect to different languages.

            – Ahsan gadit
            Nov 15 '18 at 10:36











          • Once you add them in the text domain Loco will recognize them and let you translate them in your 4 languages

            – Sid Biffi
            Nov 15 '18 at 10:38











          • ' _e('Leave a Reply', ' Hinterlasse eine Antwort'); ' Where i should add this code in my wordpress?

            – Ahsan gadit
            Nov 15 '18 at 10:56











          • On the page that the form is included, i need more infos to be helpful but i don't think this is the correct place to discuss it anyway

            – Sid Biffi
            Nov 15 '18 at 11:01
















          0














          You should add the strings that aren't translated to the appropriate text domain using the function _e(), read more in the codex link. When you added them as needed you will see them shows in Loco.






          share|improve this answer
























          • But if will add the strings which i want to translate in this function. This will only translate for only one language and my translation will show in all other language too. But i want to change these string with respect to different languages.

            – Ahsan gadit
            Nov 15 '18 at 10:36











          • Once you add them in the text domain Loco will recognize them and let you translate them in your 4 languages

            – Sid Biffi
            Nov 15 '18 at 10:38











          • ' _e('Leave a Reply', ' Hinterlasse eine Antwort'); ' Where i should add this code in my wordpress?

            – Ahsan gadit
            Nov 15 '18 at 10:56











          • On the page that the form is included, i need more infos to be helpful but i don't think this is the correct place to discuss it anyway

            – Sid Biffi
            Nov 15 '18 at 11:01














          0












          0








          0







          You should add the strings that aren't translated to the appropriate text domain using the function _e(), read more in the codex link. When you added them as needed you will see them shows in Loco.






          share|improve this answer













          You should add the strings that aren't translated to the appropriate text domain using the function _e(), read more in the codex link. When you added them as needed you will see them shows in Loco.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 15 '18 at 10:31









          Sid BiffiSid Biffi

          415714




          415714













          • But if will add the strings which i want to translate in this function. This will only translate for only one language and my translation will show in all other language too. But i want to change these string with respect to different languages.

            – Ahsan gadit
            Nov 15 '18 at 10:36











          • Once you add them in the text domain Loco will recognize them and let you translate them in your 4 languages

            – Sid Biffi
            Nov 15 '18 at 10:38











          • ' _e('Leave a Reply', ' Hinterlasse eine Antwort'); ' Where i should add this code in my wordpress?

            – Ahsan gadit
            Nov 15 '18 at 10:56











          • On the page that the form is included, i need more infos to be helpful but i don't think this is the correct place to discuss it anyway

            – Sid Biffi
            Nov 15 '18 at 11:01



















          • But if will add the strings which i want to translate in this function. This will only translate for only one language and my translation will show in all other language too. But i want to change these string with respect to different languages.

            – Ahsan gadit
            Nov 15 '18 at 10:36











          • Once you add them in the text domain Loco will recognize them and let you translate them in your 4 languages

            – Sid Biffi
            Nov 15 '18 at 10:38











          • ' _e('Leave a Reply', ' Hinterlasse eine Antwort'); ' Where i should add this code in my wordpress?

            – Ahsan gadit
            Nov 15 '18 at 10:56











          • On the page that the form is included, i need more infos to be helpful but i don't think this is the correct place to discuss it anyway

            – Sid Biffi
            Nov 15 '18 at 11:01

















          But if will add the strings which i want to translate in this function. This will only translate for only one language and my translation will show in all other language too. But i want to change these string with respect to different languages.

          – Ahsan gadit
          Nov 15 '18 at 10:36





          But if will add the strings which i want to translate in this function. This will only translate for only one language and my translation will show in all other language too. But i want to change these string with respect to different languages.

          – Ahsan gadit
          Nov 15 '18 at 10:36













          Once you add them in the text domain Loco will recognize them and let you translate them in your 4 languages

          – Sid Biffi
          Nov 15 '18 at 10:38





          Once you add them in the text domain Loco will recognize them and let you translate them in your 4 languages

          – Sid Biffi
          Nov 15 '18 at 10:38













          ' _e('Leave a Reply', ' Hinterlasse eine Antwort'); ' Where i should add this code in my wordpress?

          – Ahsan gadit
          Nov 15 '18 at 10:56





          ' _e('Leave a Reply', ' Hinterlasse eine Antwort'); ' Where i should add this code in my wordpress?

          – Ahsan gadit
          Nov 15 '18 at 10:56













          On the page that the form is included, i need more infos to be helpful but i don't think this is the correct place to discuss it anyway

          – Sid Biffi
          Nov 15 '18 at 11:01





          On the page that the form is included, i need more infos to be helpful but i don't think this is the correct place to discuss it anyway

          – Sid Biffi
          Nov 15 '18 at 11:01













          0














          I think you can show these comments/string translated by third party API on the frontend, like Google Translate. you can find the Google Translate API.
          For more information, you can see usage here: https://www.npmjs.com/package/google-translate-api



          Note: This is custom coding if you are a developer you can move ahead. Also, this is not like WPML like the plugin, but a lightweight option in WordPress to do it easily. You can try it, so you don't need to translate every time each comment in four languages.






          share|improve this answer
























          • No i can't use Google translate because its a client website. My client doesnot want google translate. I will do custom code but i want little guidance.

            – Ahsan gadit
            Nov 15 '18 at 11:00











          • I'm not recommended to add Google Translate on the whole site, but you can use this jQuery API for comment loop and show the translated string on comment listing. That's it if your other option doesn't work!

            – Baikare Sandeep
            Nov 15 '18 at 11:03


















          0














          I think you can show these comments/string translated by third party API on the frontend, like Google Translate. you can find the Google Translate API.
          For more information, you can see usage here: https://www.npmjs.com/package/google-translate-api



          Note: This is custom coding if you are a developer you can move ahead. Also, this is not like WPML like the plugin, but a lightweight option in WordPress to do it easily. You can try it, so you don't need to translate every time each comment in four languages.






          share|improve this answer
























          • No i can't use Google translate because its a client website. My client doesnot want google translate. I will do custom code but i want little guidance.

            – Ahsan gadit
            Nov 15 '18 at 11:00











          • I'm not recommended to add Google Translate on the whole site, but you can use this jQuery API for comment loop and show the translated string on comment listing. That's it if your other option doesn't work!

            – Baikare Sandeep
            Nov 15 '18 at 11:03
















          0












          0








          0







          I think you can show these comments/string translated by third party API on the frontend, like Google Translate. you can find the Google Translate API.
          For more information, you can see usage here: https://www.npmjs.com/package/google-translate-api



          Note: This is custom coding if you are a developer you can move ahead. Also, this is not like WPML like the plugin, but a lightweight option in WordPress to do it easily. You can try it, so you don't need to translate every time each comment in four languages.






          share|improve this answer













          I think you can show these comments/string translated by third party API on the frontend, like Google Translate. you can find the Google Translate API.
          For more information, you can see usage here: https://www.npmjs.com/package/google-translate-api



          Note: This is custom coding if you are a developer you can move ahead. Also, this is not like WPML like the plugin, but a lightweight option in WordPress to do it easily. You can try it, so you don't need to translate every time each comment in four languages.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 15 '18 at 10:46









          Baikare SandeepBaikare Sandeep

          1651211




          1651211













          • No i can't use Google translate because its a client website. My client doesnot want google translate. I will do custom code but i want little guidance.

            – Ahsan gadit
            Nov 15 '18 at 11:00











          • I'm not recommended to add Google Translate on the whole site, but you can use this jQuery API for comment loop and show the translated string on comment listing. That's it if your other option doesn't work!

            – Baikare Sandeep
            Nov 15 '18 at 11:03





















          • No i can't use Google translate because its a client website. My client doesnot want google translate. I will do custom code but i want little guidance.

            – Ahsan gadit
            Nov 15 '18 at 11:00











          • I'm not recommended to add Google Translate on the whole site, but you can use this jQuery API for comment loop and show the translated string on comment listing. That's it if your other option doesn't work!

            – Baikare Sandeep
            Nov 15 '18 at 11:03



















          No i can't use Google translate because its a client website. My client doesnot want google translate. I will do custom code but i want little guidance.

          – Ahsan gadit
          Nov 15 '18 at 11:00





          No i can't use Google translate because its a client website. My client doesnot want google translate. I will do custom code but i want little guidance.

          – Ahsan gadit
          Nov 15 '18 at 11:00













          I'm not recommended to add Google Translate on the whole site, but you can use this jQuery API for comment loop and show the translated string on comment listing. That's it if your other option doesn't work!

          – Baikare Sandeep
          Nov 15 '18 at 11:03







          I'm not recommended to add Google Translate on the whole site, but you can use this jQuery API for comment loop and show the translated string on comment listing. That's it if your other option doesn't work!

          – Baikare Sandeep
          Nov 15 '18 at 11:03




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53317291%2fwordpress-comment-box-translation%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Bressuire

          Vorschmack

          Quarantine