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

Open Hours block: Customize days of the week in different languages #215

Open
andreiungurianu opened this issue Sep 24, 2020 · 4 comments
Open

Comments

@andreiungurianu
Copy link

Two customers (both from France) let me know that they cannot use the Open Hours block because it doesn't have support for French and only works in English. This makes the block unaccesible to a big portion of the world.

I tried to use a translation plugin (TranslatePress and Loco Translate) but they both don't seem to identify those strings, so I can't translated them this way.

@alinclamba
Copy link

+1

@diokast
Copy link

diokast commented May 26, 2021

+1

@georgeolaru georgeolaru changed the title [Open Hours] Customize days of the week in different languages Open Hours block: Customize days of the week in different languages Jun 24, 2022
@georgeolaru
Copy link
Member

@vladolaru Do you think we can work to provide translatable strings for the Open Hours block?

@georgeolaru
Copy link
Member

georgeolaru commented Feb 3, 2023

+1

A solution could be to use a Table block and write down the opening hours manually:

<!-- wp:table {"className":"open_overview_widget-schedule is-style-regular"} -->
<figure class="wp-block-table open_overview_widget-schedule is-style-regular"><table><tbody><tr><td>Monday</td><td>10:00am – 10:00pm</td></tr><tr><td>Tuesday</td><td>9:00am – 5:00pm</td></tr><tr><td>Wednesday</td><td>9:00am – 5:00pm</td></tr><tr><td>Thursday</td><td>9:00am – 5:00pm</td></tr><tr><td>Friday</td><td>9:00am – 5:00pm</td></tr><tr><td>Saturday</td><td>12:00pm – 2:00am</td></tr><tr><td>Sunday</td><td>Closed</td></tr></tbody></table></figure>
<!-- /wp:table -->

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

No branches or pull requests

5 participants