Closed Bug 617391 Opened 14 years ago Closed 11 years ago

Test .po files for validity when updating them

Categories

(Input :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 875313

People

(Reporter: wenzel, Unassigned)

References

Details

When the autol10n script compiles .mo files, it should check them for validity, to at least make sure all %s instances are present.
I started on something like this after a recent localizer typo.

https://github.com/jbalogh/tower/commit/checkpo

It was too noisy on amo since we had a mix of python and php interpolations. It may be better now that we're not amalgamating.
Component: Input → General
Product: Webtools → Input
Target Milestone: --- → 4.x
In July 2013, I wrote a utility called dennis (https://pypi.python.org/pypi/dennis) and tweaked the deployment process for Input to use dennis to lint .po files for issues that cause production problems before compiling them to .mo files. In this way, problems that crash production no longer make it to production.

Marking this as a duplicate of that bug.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.