Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event Block: Make month in 'When' field translatable #264

Open
ramiz-ivycat opened this issue Feb 3, 2022 · 2 comments
Open

Event Block: Make month in 'When' field translatable #264

ramiz-ivycat opened this issue Feb 3, 2022 · 2 comments

Comments

@ramiz-ivycat
Copy link

Tested with:

  • Event Plugin version - 1.0.1
  • WordPress version - 5.8.3

We'd like to have month (i.e. March) of event date (i.e. March 3, 2022) in When field translatable in other languages like Spanish, Russian, etc.

FYI, we are using WPML for translating the website. I could translate the other fields from Event block in other available languages except When field since it is a DatePicker.

From code I could see dateI18n already in place but somehow it is not working.

@vcanales
Copy link
Contributor

vcanales commented Feb 7, 2022

Hi, thanks for bringing this up. Unfortunately, I'm unable to reproduce this issue using built in translations; I've tried Italian, Spanish, and Russian and they all seem to work. Could it be a WPML specific problem? Any additional information you may have would be appreciated.

Screenshot

image

@ramiz-ivycat
Copy link
Author

Thanks @vcanales, I really appreciate you looking at the issue.

Here are some more information of what I'm doing.

While editing a page/post for different language via WPML, an Event block does allow to add translated content for other fields (i.e. Title, Where, Description, etc.) except When field (because it's DateTime selector). See screenshot below:

screenshot-1

On other hand WPML allow us to add translated content (in the form of block HTML) for different languages via WPML translation editor but it is not reflecting on frontend. See screenshot below:

Screenshot 2022-02-09 at 1 20 44 PM

I hope it helps. Please let me know if you have any further questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants