[wp-meta] [Making WordPress.org] #4716: Improve translations for gutenberg mobile

Making WordPress.org noreply at wordpress.org
Wed Sep 4 15:25:42 UTC 2019

#4716: Improve translations for gutenberg mobile
 Reporter:  dekervit  |      Owner:  (none)
     Type:  task      |     Status:  new
 Priority:  normal    |  Milestone:
Component:  General   |   Keywords:
 Gutenberg mobile, the native version of Gutenberg, is currently part of
 the gutenberg repository even though it has a custom build and custom
 dependencies (that currently live outside in its own repository
 https://github.com/wordpress-mobile/gutenberg-mobile but are meant to move
 into gutenberg in the near future)

 The problem we currently have is that the command run to generate the POT
 file for gutenberg, `wp i18n make-pot`, takes the plugin file as input. As
 a result, strings from the *.native.js files that mobile uses are not
 getting uploaded to the gutenberg GlotPress project (because they’re not a
 part of the build for the web side).

 We'd like to figure out a solution to get the strings from the *.native.js
 files uploaded to GlotPress. We see two options at this point

 (a) Gutenberg mobile gets its own GlotPress project and starts sending off
 its own translations to GlotPress independently of gutenberg (excluding
 anything that will get sent off by gutenberg to avoid duplication)

 (b) We update the GlotPress script that runs for gutenberg to take a
 custom POT file that includes both the web and native strings (Replacing
 `wp i18n make-pot` with `wp glotpress import-originals custom.pot`).

 We would prefer to go with (b) as having our own GlotPress project would
 add overhead in our deployment process and gets us further from our goal
 of merging the two repositories.

Ticket URL: <https://meta.trac.wordpress.org/ticket/4716>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list