Tagged: edit, readmore, service widget
- This topic has 3 replies, 2 voices, and was last updated 8 years, 3 months ago by Theme Horse Support Team.
-
AuthorPosts
-
January 20, 2016 at 4:56 pm #41569monmidtParticipant
Hi!
I’m almost done with the page I’ve created and will soon launch it. But since we live in Norway I would like the readmore-buttons in the services-widget to be in norwegian language… how do I change this?January 21, 2016 at 11:48 am #41612Theme Horse Support TeamKeymasterHi monmidt,
To change the readmore button into your own language first you need to create a .po and .mo file and that translated .po and .mo file should be kept inside the language folder. Then, after readmore buttons into your own language.
If you like direct change in the code then first you create a child theme and then customize the code. So that while updating to new version your customized code will not be lost.
Thank you!
January 21, 2016 at 2:42 pm #41639monmidtParticipantHi!
I have already created a childtheme, but I’m not able to find the code-snippet for the readmore-button so I can do a direct edit.
In which file will I find the frase “read more” , so I can just erase it and replace it with “les mer”?Thx for a quick response 🙂
January 22, 2016 at 6:45 am #41672Theme Horse Support TeamKeymasterHi monmidt,
If you make direct changes in the code then while updating to new version your customized code will be lost. So better is making language translation file. If you wanna direct change then each and every time you update to new version you need same customization.
The readmore file text is inside theme folder(interface)/inc/structure/content-extensions.php on line 173, 511, 637, 742 and
theme folder(interface)/inc/widgets/interface_widgets.php on line 289Hope this may help you
Thank you! -
AuthorPosts
- You must be logged in to reply to this topic.