Hello,
You can translate those words in .po file as described in our documentation:
https://www.8theme.com/demo/docs/royal/#!/1_how_to_translate
Thank you.
Regards,
Eva Kemp.
Solved10 replies3 participantsUpdated by Eva Kemp
I would like to make some changes to theme-functions.php
I want to translate “related posts” under a blogpost in something else.
I want to translate “more details” when I hover a blogpost in related posts in something else.
I want to translate “view large” and “more details” on the frontpage blog grid in something else.
When I do this I get white screens in the backend.
How do fix this?
How can I make these translations?
Hello,
You can translate those words in .po file as described in our documentation:
https://www.8theme.com/demo/docs/royal/#!/1_how_to_translate
Thank you.
Regards,
Eva Kemp.
I followed instructions but I can’t get the translations to work.
Can I translate directly in the theme files?
I just want to change the title “Related posts” and the “More details” button in related posts.
Ignore reply above.
I installed poedit and made changes in default.po + generated a default.mo again.
When I reupload these the changes won’t show.
Did I forget something?
What is the default language?
AHA! I found the problem I think. I was checking in the wrong place.
The translations work everywhere but not on the homepage grid.
“View large” & “More details” remain in English.
How do I fix this?
Final update. I found the problem, now I just need the solution 🙂
In theme-functions.php under Posts Teaser Grid I found this code:
<div class=”zoom”>
<div class=”btn_group”>
<span>View large</span>
<span>More details</span>
</div>
<i class=”bg”></i>
</div>
I assume that this is why the po mo translations don’t work on the frontpage.
But when I make changes to the <span> I get whitescreens in the WordPress admin.
How can I fix this?
Hello,
Please provide us with wp-admin panel and FTP credentials in Private Content.
Please write the translation you want to use.
Thank you.
Regards,
Eva Kemp.
Here you go!
Hello,
I’ve made changes in your site. Now it’s translated. Check it.
Regards,
Robert Hall.
Thank you!
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Whitescreens when making changes in theme-functions.php’' has been successfully resolved, and the topic is now closed for further responses
Free AI store scan · SalesMax
Paste your store address. SalesMax AI shows which upsell moments are missing. No signup.
Free AI speed test · FlashMax
Paste your site address. FlashMax runs Google Lighthouse for phone and desktop, checks Core Web Vitals and lists what to fix. No signup.
Interior StoreFurniture
(live demo, opens in a new tab)
Grocery Mega MarketFood & drinks
(live demo, opens in a new tab)
Chocolate BoutiqueFood & drinks
(live demo, opens in a new tab)
Rental CarCars & bikes
(live demo, opens in a new tab)
Lingerie StoreFashion
(live demo, opens in a new tab)
Organic StoreFood & drinks
(live demo, opens in a new tab)
Landing WatchElectronics
(live demo, opens in a new tab)
Lifestyle BlogFashion
(live demo, opens in a new tab)
FishingSports & travel
(live demo, opens in a new tab)
Marseille 01Fashion
(live demo, opens in a new tab)
Headphone StoreElectronics
(live demo, opens in a new tab)
Grocery MarketFood & drinks
(live demo, opens in a new tab)
HotelBusiness
(live demo, opens in a new tab)
KidsstoreToys & games
(live demo, opens in a new tab)
PubFood & drinks
(live demo, opens in a new tab)
Mobile StoreElectronics
(live demo, opens in a new tab)