This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This uses several processes to allow translatable strings to be extracted directly from JS files and converted to PHP where they can be discovered and parsed by GlotPress. One downside of this current implementation is that the `gutenberg_get_jed_locale_data` function grabs all of the strings from the entire text domain. The `wordcamporg` domain currently has ~1,300 strings, all of which get output as an inline JS variable in the page document. Hopefully this will be solved in the future with something like this: WordPress/gutenberg#6051
- Loading branch information
1 parent
0a843b7
commit ba0ca01
Showing
8 changed files
with
119 additions
and
173 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.