Tagged: x
-
AuthorPosts
-
May 12, 2016 at 2:25 pm #988354
KiljanParticipantX version 4.4.2
Wordpress Version 4.5.2
Stack: Integrity
Child theme: YES–
Hi. I have translated all the parts I need to a .po and a .mo file.
But there are at least three words that I havnt been able to translate“Reply” = “Svara
“Submit” = “Skicka”I would like to translate those word and also send e request for a future update, that they be somehow re-coded so that the translation I do to the .po file also translates these words (for future convenience).
and the third one I already had a trick for translating.
Its the “Search” in the navbar search when in mobile.Here under is a trick for that:
jQuery(document).ready(function($){ $('.x-btn-navbar-search span span').html("SÖK"); });I have searched the forum, but the posts that show similar are perhaps old because its not working.
May 12, 2016 at 7:27 pm #988718
FriechModeratorHi There,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Cheers!
May 13, 2016 at 4:31 am #989417
KiljanParticipantThis reply has been marked as private.May 13, 2016 at 4:52 am #989438
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> JavaScript :
jQuery(".comment-reply-link").html("custom text");Thanks.
May 13, 2016 at 10:07 am #989796
KiljanParticipantThanks.
Just to conclude this topic, should that text be effected by the .po file?
Im just interested in knowing.If not, is it not possible to write the code so that all visible words are “translatable”, I see that many other have posted similar topics.
May 13, 2016 at 3:34 pm #990287
RahulModeratorHey there,
No, you can not just write the code to translate the words but it takes inputs from the .po file which you have used to translate the other words.
Thanks
June 9, 2016 at 2:33 pm #1034547
KiljanParticipantHi, this stopped working after the last update.
This is what I have in the custom javascript area:
jQuery(document).ready(function($){ $('.x-btn-navbar-search span span').html("SÖK"); }); jQuery(".comment-reply-link").html("Svara");Plus, I´ve realised that the word “x amount of comments” before the articles on the blog, has not been translated either.
Login credentials above are still correct.
All help is appreciated.June 9, 2016 at 9:15 pm #1035145
Rue NelModeratorHello There,
In the latest release update, there are keywords that has been added to the pot file. You may need to update your .po and .mo files. To know how you can update it, please check out this topic here: https://wordpress.org/support/topic/poedit-how-to-update-pot-and-mo-po-files
Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-988354 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
