-
Author
-
October 8, 2014 at 08:02 #31035HeeHAParticipant
Hi
I would like to translate English in our language.
How many language files I need to translate for whole sweetdate site?
Where to get the newest English file?
Is there any fast translation tool for reference?
Thanks!
October 8, 2014 at 08:30 #31037adminerParticipant(wp-content\themes\sweetdate\languages) Here is a translation of the language files.
Please note the following: https://make.wordpress.org/polyglots/handbook/tools/poedit/
October 8, 2014 at 11:06 #31043CatalinModeratorHello,
A great tool for this is:
https://wordpress.org/plugins/codestyling-localization/
you can translate with this plugin strings from the theme and also from the plugins used.
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 14, 2014 at 19:24 #31707dicersParticipantHow can I translate the phrase: “Invoice #%s on %s” on the membership-account/membership-invoice page (\wp-content\themes\sweetdate\paid-memberships-pro\pages\invoice.php)
I tried the po files located in:
wp-content\plugins\paid-memberships-pro\languages\pmpro-xx-XX.po
wp-content\themes\sweetdate\languages\xx_XX.poThis is just one example. There is also the print button from the same page which I can’t find. Translating this theme is very frustrating!
Thanks.
October 20, 2014 at 15:35 #32234CatalinModeratorHi that string should be related to Paid memberships Pro and you need to translate the plugin. Try using Codestyling Localization and rescan plugin strings
All theme related strings are the ones that appear in theme translation under “kleo_framework” domain. All other strings belong to different plugins.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 20, 2014 at 15:58 #32241dicersParticipantI am using Codestyling plug-in, I found the phrase “Invoice #%s on %s” and “Print” in the plug-in translation. I did translate it, but just these 2 things are not being translated, and I can’t understand why. This is just 2 examples of phrases not translating. It seems there are several translations that are just not working. When I check the location of the php files for these particular phrases, they are:
“Invoice #%s on %s”
pages/confirmation.php:41 pages/invoice.php:22
41 <?php printf(__(‘Invoice #%s on %s’, ‘pmpro’), $pmpro_invoice->code, date_i18n(get_option ‘date_format’), $pmpro_invoice->timestamp));?>“Print”
pages/confirmation.php:43
43 <?php _e(‘Print’, ‘pmpro’);?>I can’t understand what’s wrong, all other phrases are translated.
Attachments:
You must be logged in to view attached files.October 25, 2014 at 19:27 #33038CatalinModerator@dicers I see you already opened a topic and please do not write parallel questions and think at our support staff no to answer same question twice.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.