-
Everybody has a working Pootle setup, right?
-
Uncomment plugin line in
requirements/_pootle_fs.txt -
- Choose
gitbackend - Use
git@github.com:translate/pootle_fs_demo.gitURL - Specify
/<language_code>/<dir_path>/<filename>.<ext>mapping - Add mapping for
es_EStoes
- Choose
-
The demo itself:
-
fetchthensyncto ensure we pulled the remote repo translations to Pootle -
Translate something and
sync(translations are auto-staged) -
Translate something for es then
syncand check in VCS changes go to es_ES -
Translate something else and alter same string in repo, then
stateto see conflict-
Explain the conflict solving possibilities:
- Pootle overrides
- Filesystem overrides
- Filesystem prevails and Pootle becomes suggestion (default)
- Pootle prevails and filesystem becomes suggestion
-
Run
mergethensync(Filesystem prevails and Pootle becomes suggestion)
-
-
Add new file in repo,
fetchthensync -
Remove file in repo,
rmthensync -
How to figure out what to do:
- Use
stateto know what is going on (or if you are in doubt)
- Use
-
Changes in
templatesare not automatically synced to the project languages, so needs to be done outside Pootle as before Pootle FS.
-
-
Now everybody pairs and tries to replicate. Ask for help if needed.