-
Notifications
You must be signed in to change notification settings - Fork 54
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
[I18n] Fix plugin internationalization #430
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great improvement; thanks for taking the time to implement it @pedro-mendoca!
We should address any further improvements and as a follow-up, in order to get translations out ASAP.
You mentioned in slack that /assets/boilerplate/theme.json
isn't being parsed; we should add an issue to get to that later.
Salve for the small naming nitpick, this is good to go.
@@ -223,7 +223,10 @@ public static function create_admin_form_page() { | |||
} | |||
|
|||
public static function form_script() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great catch; it was frustrating me quite a bit, as it wasn't working with the extra /
present.
It's working for me now.
This PR addresses many i18n issues:
wp_set_script_translations()
to translate JavaScript scriptsSolves issue reported on https://wordpress.org/support/topic/the-screen-manage-theme-fonts-is-not-translated/