Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

[Solved] Translation and date  


Hervé
Posts: 9
Customer
(@herve)
Member
Joined: 1 month ago

Hello,

A translation is missing and how to change the date format, Please, see my screenshot

Thanks

wpforo polls screenshot

 

6 Replies
Astghik
Posts: 4210
Admin
(@astghik)
Support Team
Joined: 3 years ago

Hi @herve,

how to change the date format

  • Navigate to Dashboard > Forums > Settings > Features admin page, enable the "WordPress Date/Time Format" option
  • Navigate to Dashboard > Settings > General admin page, choose the Custom Date Format option and set it as you like

A translation is missing 

Reply
5 Replies
Hervé
Customer
(@herve)
Joined: 1 month ago

Member
Posts: 9

Hi @astghik

The wordpress date is well activated and works very well with the forum, but not with the poll.

The phrase "Voter(s): " does not exist, and if I add it, what should I write: "Voter(s):" or "Voter(s): %d" ?

Thanks

Reply
Astghik
Admin
(@astghik)
Joined: 3 years ago

Support Team
Posts: 4210

@herve,

The wordpress date is well activated and works very well with the forum, but not with the poll.

ok, we'll check and back to you asap. 

The phrase "Voter(s): " does not exist, and if I add it, what should I write: "Voter(s):" or "Voter(s): %d" ?

No need to add it manually, just navigate to Dashboard > Forums > Dashboard admin page, click on the "Rebuild Phrases" button, then search the phrase, 

Reply
Hervé
Customer
(@herve)
Joined: 1 month ago

Member
Posts: 9

@astghik

Ok for translation

Wink

Reply
Astghik
Admin
(@astghik)
Joined: 3 years ago

Support Team
Posts: 4210

@herve,

We're really sorry, but the date format in the wpForo poll addon is not based on the option I've mentioned. 

You can change it in the plugin files. Follow the steps below:

1. Open the /wp-content/plugins/wpforo-polls/includes/class-template.php file

2. Go to the 208 line 

3. Change this format 'M d, Y'

Find the format parameters here: https://www.php.net/manual/en/function.date.php

We'll take into consideration to change this logic in near future updates. 

Reply
Hervé
Customer
(@herve)
Joined: 1 month ago

Member
Posts: 9

@astghik

Ok it works Thanks

Wink

Reply
Share: