Change text links and error messages – ThemeTon – Support http://themeton.com/support/forums/topic/change-text-links-and-error-messages/feed/ Sun, 28 Apr 2024 04:49:54 +0000 https://bbpress.org/?v=2.6.9 en-US http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-984 <![CDATA[Change text links and error messages]]> http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-984 Thu, 22 May 2014 18:06:54 +0000 fernanda_soares Hey,

I changed the text of erros messages, links and so, in: framework/pagebuilder/languages/en_US.po

but it didn’t uptade in my website. How do I change these texts?

]]>
http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1014 <![CDATA[Reply To: Change text links and error messages]]> http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1014 Fri, 23 May 2014 10:13:37 +0000 Adam I see your trying to actually change the langue of the error messages.

By default, these messages are in English. To translate them, you can either use the free add-on Custom Validation Messages or follow the manual JavaScript method. 

–Recommended

The recommended method to translate the messages is by installing the free Custom Validation Messages add-on.  This will let you easily change the messages for allforms from within the WordPress admin.

–Manual Method

In your theme folder, create a JavaScript file. In this example, I’m using my-js.js. Add the following code to it and customize the language to what you need:

  • /*
  • * Translated default messages for the jQuery validation plugin.
  • * Locale: DE (German, Deutsch)
  • */
  • jQuery(document).ready(function($){
  •     $.extend($.validator.messages,{
  •         required:“Dieses Feld ist ein Pflichtfeld.”,
  • email:“Geben Sie bitte eine gültige E-Mail Adresse ein.”,
  • url:“Geben Sie bitte eine gültige URL ein.”,
  • date:“Bitte geben Sie ein gültiges Datum ein.”,
  • number:“Geben Sie bitte eine Nummer ein.”,
  • digits:“Geben Sie bitte nur Ziffern ein.”,
  • equalTo:“Bitte denselben Wert wiederholen.”,
  • range: $.validator.format(“Geben Sie bitte einen Wert zwischen {0} und {1} ein.”),
  • max: $.validator.format(“Geben Sie bitte einen Wert kleiner oder gleich {0} ein.”),
  • min: $.validator.format(“Geben Sie bitte einen Wert größer oder gleich {0} ein.”)
  •     });
  • });

    Now, in your functions.php file, add the following piece of code:

  • add_action(‘wp_enqueue_scripts’,‘my_scripts_method’);
  • function my_scripts_method(){
  •    wp_register_script(‘my-vfb-validation’,
  •        get_template_directory_uri().‘/js/my-js.js’,
  •        array(‘jquery’,‘jquery-form-validation’),
  •        ‘1.0’,
  •        false);
  •  
  •    wp_enqueue_script(‘my-vfb-validation’);
  • }
]]>
http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1077 <![CDATA[Reply To: Change text links and error messages]]> http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1077 Mon, 26 May 2014 21:37:01 +0000 fernanda_soares I tried to use Custom Validation Messages, but it doesn’t seem that can change the comments count, the “read more” button, author info in single post and so, does it?

why my trying didn’t work? is there other way to do it?

i dont understand pretty well the manual method.

]]>
http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1307 <![CDATA[Reply To: Change text links and error messages]]> http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1307 Fri, 06 Jun 2014 09:09:05 +0000 BJ WP reads translation from MO files that generates by PO file.

I have questions.

  1. Have your updated/uploaded your new MO file exactly from your edition?
  2. How did you try translate your site? Please tell me your steps
  3. Are you using translation plugin there?
  4. Do you want to get manual editing support from us that may use on your child theme?

Thhanks a lot

]]>
http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1332 <![CDATA[Reply To: Change text links and error messages]]> http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1332 Fri, 06 Jun 2014 19:06:58 +0000 fernanda_soares 1. no, i only edited the PO file
2. I entered in framework/pagebuilder/languages/en_US.po , changed the texts I want and saved
3. I’m not using any translation plugin
4. would be great if you can help me! (=

thanks (=

]]>
http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1372 <![CDATA[Reply To: Change text links and error messages]]> http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1372 Mon, 09 Jun 2014 12:59:08 +0000 fernanda_soares any solution?

]]>
http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1395 <![CDATA[Reply To: Change text links and error messages]]> http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1395 Tue, 10 Jun 2014 11:46:04 +0000 BJ WordPress reads MO file and we need to generate it from PO file. Please edit your PO file with PoEdit app and generate MO file. And need to upload it on Languages directory of the theme.

Can you provide us your login details? If you give me, we can fix it quickly!

Thanks

]]>
http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1409 <![CDATA[Reply To: Change text links and error messages]]> http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1409 Tue, 10 Jun 2014 18:46:25 +0000 fernanda_soares thanks for the tip, it worked (=

]]>
http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1410 <![CDATA[Reply To: Change text links and error messages]]> http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1410 Tue, 10 Jun 2014 19:07:26 +0000 fernanda_soares But in single posts, in the comments area, still some messages appearing in english. I would like to change them, but they aren’t in the .po file . Do you know where can I modify them?

Single post -> http://floko.com.br/that-positive-feeling/ (messages: “Leave a Reply” “Post Comment” “You must be logged in to post a comment.” )

Thanks

]]>
http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1411 <![CDATA[Reply To: Change text links and error messages]]> http://themeton.com/support/forums/topic/change-text-links-and-error-messages/#post-1411 Tue, 10 Jun 2014 19:48:38 +0000 fernanda_soares Hey, I’ve already found a solution. Thanks a lot for all your help (;

]]>