Modular Architecture
Localization goes beyond simple file parsing and translation. Serge is built with extensibility in mind, and realizes its file format support and extra functionality by the means of plugins.
Here are some of the things that you can do with Serge:
- Use regular expressions to modify the file content before it gets parsed
- Use regular expressions to modify the localized file content before it gets saved
- Use regular expressions to modify translations on the fly (for example, normalize punctuation)
- Run arbitrary shell commands once localized files are saved (for example, to compile files)
- Limit target languages on a per-file basis based on file path or its contents
- Prevent generating/updating localized files unless they are 100% translated
- Smart-guess translations from similar previously translated strings
- Control Serge Translation Memory database right from the translation UI (by the means of commands provided in translator's comments)
Learn more about supported functionality by looking up the documentation on available parser plugins and callback plugins.