pressidium / pressidium-cookie-consent

🍪 Lightweight, user-friendly and customizable cookie consent banner to help you comply with the EU GDPR cookie law and CCPA regulations.
https://wordpress.org/plugins/pressidium-cookie-consent/
GNU General Public License v2.0
43 stars 3 forks source link

Fallback translation and reset English translations #47

Open williarin opened 7 months ago

williarin commented 7 months ago

Hello,

Two features suggestions:

1) It seems that the fallback translation is the one on top. If the website is not English, we need to delete English, create the fallback translation, then if we want English for English browsers we need to recreate it, and it's then empty. A nice feature would be to have a radio input giving us the choice of the fallback translation, not necessarily the first one.

2) As the previous example, the English translation is recreated empty. The original English translations can be restored when resetting all settings, but it would also be nice to be able to restore it without restoring other settings, in case we mess things up. Actually the best would be to have these English defaults for any added translation, so the modal doesn't appear blank if none is filled.

over-engineer commented 7 months ago

Hey, @williarin!

Appreciate your continued input and feedback.

Both are great suggestions! We’ll work on them in a future iteration of the plugin 🙂