Wiki Navigation
- Loading...
Overview
The TransifexHelper is a small utility to manage all MP2 translation files. It is being used for synchronization of the English language files in source code, the translations in Transifex cache and all translations at Transifex.com.
MP2 Localization process
Location of language files
In source code English files only.
In TransifexCache English files and all translation files.
At Transifex.com English files and all translation files.
Synchronization process
push
English language files only.
From source code source code to TransifexCache to Transifex.com
Transifex Helper usage
pull
Translation files (non-English language files) only.
From Transifex.com to TransifexCache.
Transifex Helper usage
TransifexHelper notes
Reading project and name for Transifex resource
infos about transifex resource
- project
- name
no dot is allowed.
unique identification by combining both, but separating by dot
Use parent dir name
default
Read project and name specification from English language file
if parent dir can not be used for reading the resource name, because of
- different directory structure or
- resource should not be added to MP2 project at transifex (maybe MP2_Tools etc.)
- or parent dir contains a dot
the project and name can be added to the english language file
Example: link
Related source code of TransifexHelper: MediaPortal/Tools/TransifexHelper/Program.cs
Potential improvements
write a msbuild task, which verifies the folder names and if these fail, check if resource is specified correctly in language file
This page has no comments.