Use the EN-Revision header for translation tracking
masterEvery translated XML file must include a specific header comment to track synchronization with the English source. This header allows the system to detect if a translation is outdated.
Replace the first two lines of the original English document with the following format:
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: [commit_hash] Maintainer: [username] Status: [ready|partial] -->Header Variables
| Variable | Description |
|---|---|
EN-Revision | The commit hash of the corresponding English documentation. Crucial for update detection. |
Maintainer | Your username (must match the nick in translation.xml, case-sensitive). |
Status | Use ready when finished, or partial if only partially translated. |
CREDITS | (Optional) Add <!-- CREDITS: username1, username2 --> to credit contributors who performed major updates. |
<!-- EN-Revision: 68a9c82e06906a5c00e0199307d87dd3739f719b Maintainer: johnsmith Status: ready -->