Missing Translation | Enhancement Suggestions | Support Forum

A A A

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Missing Translation
September 9, 2017
7:35 pm
Christian
Member
Members
Forum Posts: 5
Member Since:
August 25, 2017
sp_UserOfflineSmall Offline

Hi There,

 

At admin-panel-listings.php line 545 is a text not translated. That will send an English subject line for the access key e-mail.

 

$message->subject = sprintf(‘Access Key for “%s”‘, $ad->get_title());

 

Thanks for your great plugin!

 

Christian

September 10, 2017
8:13 am
AWPCP Support
Moderator
Members

Moderators
Forum Posts: 4622
Member Since:
September 4, 2013
sp_UserOfflineSmall Offline

Hi Christian,

Which version of WP and AWPCP are you using?

Is it not being translated through the PO file? Here is an article for your reference https://awpcp.com/forum/faq/translation-tips/

September 17, 2017
5:16 am
Christian
Member
Members
Forum Posts: 5
Member Since:
August 25, 2017
sp_UserOfflineSmall Offline

I use V3.7.7

It is not a PO file problem. The PHP code is not correct. It does not automatically translate the text.

 

The existing code 

$message->subject = sprintf(‘Access Key for “%s”‘, $ad->get_title());

should read (when I am right, I am not a great coder):

$message->subject = sprintf( __(‘Access Key for “%s”‘, ‘another-wordpress-classifieds-plugin’), $ad->get_title());

 

Then the text “Access Key for %s” will be translated by the PO file. At the moment it is not being translated at all.

Please forward this small request to your programmer.

Thanks! 🙂

Christian

September 19, 2017
10:39 am
AWPCP Support
Moderator
Members

Moderators
Forum Posts: 4622
Member Since:
September 4, 2013
sp_UserOfflineSmall Offline

Hi Christian,

Thank you for posting this information. I have forwarded this to our programmer for checking.

Forum Timezone: America/Denver

Most Users Ever Online: 163

Currently Online:
17 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Johnny B: 140

godie: 120

laburke: 94

NAIN KHAN: 93

kerdezo: 91

salvig67: 84

rude: 72

purplepaula: 72

WAYTOBAYWTB52: 71

gery: 71

Member Stats:

Guest Posters: 28

Members: 36977

Moderators: 2

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 6617

Posts: 29692

Newest Members:

Drachsi, Sheila, crocodile dundee, Jaydeb k, John Morotti, Jack Smith, Paul D, Jack, hockase, Upendra Yadav

Moderators: awpcp: 7530, AWPCP Support: 4622

Administrators: wpengine: 0, awpcp: 298

Skip to toolbar