Add .po file creation to Localization doc #13873
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since commit 487d45c,
meson setup
will error out if a project has an i18n configuration but is missing the necessary set of.po
files. (Previously, because it wasn't tracking those files the build could be configured first, then the files generated by building the -update-po target.)Since that no longer works, document the need to create empty
.po
files in advance, and provide a simple Bourne-shell-compatible command that can be used for this purpose.Fixes #12368
Note: I don't love this at all; it feels incredibly clunky. But the changes in #9074, which were made for good reason and solved lots of other problems, had a side-effect that existing
.po
files are (newly) required in order to successfully configure a build. So, this IS now the necessary process, unless someone can come up with a better one. At least this way it's documented.cc: @eli-schwartz