[wp-meta] [Making WordPress.org] #3876: Update wporg-gp-customizations to generate translation files for each JS file.
Making WordPress.org
noreply at wordpress.org
Thu Oct 18 12:21:24 UTC 2018
#3876: Update wporg-gp-customizations to generate translation files for each JS
file.
--------------------------------------+---------------------
Reporter: herregroen | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Translate Site & Plugins | Resolution:
Keywords: has-patch |
--------------------------------------+---------------------
Comment (by swissspidy):
> That was my first idea as well, however looking at GlotPress it seems
that the exported file will always contain `'domain' => 'messages'` rather
than the plugin domain which is why I decided against it.
That's correct, because GlotPress technically doesn't know the domain, but
it's not a problem per se. We know the domain in core. See `WP_Scripts::
load_translation_file()` in
https://core.trac.wordpress.org/attachment/ticket/20491/20491.7.diff for
how we made it work in #core20491. We can do something similar in
#core45103.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3876#comment:11>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list