- January 3, 2008
- 890
- 556
- Home Country
- Germany
- Moderator
- #1
I am starting here a separate thread for the Transifex Language Teams on TvWishList, which is dedicated only to questions on TvWishlist language translations.
For questions on the TvWishList MediaPortal1 or Tvserver plugin go here.
For questions on the TvWishList MediaPortal2 plugin go here.
If you want to have this plugin in your native language you have to join the Transifex language teams.
If you have not heard of Transifex before you should start here with the WIKI and guidelines.
The golden source for Tvwishlist on Transifex does support all 3 TvWishList plugins, namely the Tvserver plugin TvWishList, the MediaPortal1 plugin TvWishListMP and the MediaPortal2 plugin TvWishListMP2.
The TvWishList installer will automatically install the language files for all 3 plugins. Their locations are e.g. for Windows7 64bit:
TvWishList:
C:\ProgramData\Team MediaPortal\MediaPortal TV Server\TvWishList\Languages
TvWishListMP:
C:\ProgramData\Team MediaPortal\MediaPortal\language\TvWishListMP
TvWishListMP2:
C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\TvWishListMP2\Language
If you want to test your partial language files before an official release you need to use the language converter which can be downloaded from here. Transifex is using the MediaPortal2 language format (download from Transifex as Android format), which can be used only with the TvWishListMP2 plugin. The Tvserver plugin TvWishListMP and the MediaPortal1 plugin TvWishListMP are using the same language format which is generated by the converter. The setting must be MP1 language and all strings_[language].xml files will be converted into the correct format. It may be a good idea to convert afterwards backwards also from MP1 to MP2 to eliminate some transifex specific characters (use MP2 Summer Edition and exchange the input and output folder).
If you have any questions left on the language conversion or specific string formats please post here. I am planning to pre anounce releases in this thread and post any observations on testing language files.
Update 25.11.2012: Automated script to download and install the transifex language file (Only needed for transifex language team members!)
I have summarized a script procedure to download from transifex your TvWishList language and install it at thecorrect locations for Tvserver, MP1 client and MP2 client. This enables the translator team to immediately test their translations. Incomplete language files can be used, too and will be filled with English strings for any missing translations.
This requires the following steps after you have created a transifex account and you have done your translation:
Step1: Create a credential file with a text file editor (e.g. notepad.exe) in your user folder with the name
.transifexrc
in
C:\Users\[User]
containing 5 lines:
[https://www.transifex.com]
hostname = https://www.transifex.com
password = my_transifex_password
token =
username = my_transifex_username
Step2: Unzip the folder TvWishListTransiFexGetSingleLanguage.zip
Step3: Open the file TvWishListTransifex.bat with a text editor and correct your language (2-letter code)
Step4: Open the file CopyLanguages.bat with a text editor and update your paths
Step5: run TvWishListTransifex.bat
Step6: run CopyLanguages.bat in administrator mode by right clicking on the file and select "run as admin" (needed to copy the MP2 language file into the program folder)
As always the use is on your own risk. You should be familiar with batch scripts to use this procedure.
A big thanks for all your work on the translations,
huha
For questions on the TvWishList MediaPortal1 or Tvserver plugin go here.
For questions on the TvWishList MediaPortal2 plugin go here.
If you want to have this plugin in your native language you have to join the Transifex language teams.
If you have not heard of Transifex before you should start here with the WIKI and guidelines.
The golden source for Tvwishlist on Transifex does support all 3 TvWishList plugins, namely the Tvserver plugin TvWishList, the MediaPortal1 plugin TvWishListMP and the MediaPortal2 plugin TvWishListMP2.
The TvWishList installer will automatically install the language files for all 3 plugins. Their locations are e.g. for Windows7 64bit:
TvWishList:
C:\ProgramData\Team MediaPortal\MediaPortal TV Server\TvWishList\Languages
TvWishListMP:
C:\ProgramData\Team MediaPortal\MediaPortal\language\TvWishListMP
TvWishListMP2:
C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\TvWishListMP2\Language
If you want to test your partial language files before an official release you need to use the language converter which can be downloaded from here. Transifex is using the MediaPortal2 language format (download from Transifex as Android format), which can be used only with the TvWishListMP2 plugin. The Tvserver plugin TvWishListMP and the MediaPortal1 plugin TvWishListMP are using the same language format which is generated by the converter. The setting must be MP1 language and all strings_[language].xml files will be converted into the correct format. It may be a good idea to convert afterwards backwards also from MP1 to MP2 to eliminate some transifex specific characters (use MP2 Summer Edition and exchange the input and output folder).
If you have any questions left on the language conversion or specific string formats please post here. I am planning to pre anounce releases in this thread and post any observations on testing language files.
Update 25.11.2012: Automated script to download and install the transifex language file (Only needed for transifex language team members!)
I have summarized a script procedure to download from transifex your TvWishList language and install it at thecorrect locations for Tvserver, MP1 client and MP2 client. This enables the translator team to immediately test their translations. Incomplete language files can be used, too and will be filled with English strings for any missing translations.
This requires the following steps after you have created a transifex account and you have done your translation:
Step1: Create a credential file with a text file editor (e.g. notepad.exe) in your user folder with the name
.transifexrc
in
C:\Users\[User]
containing 5 lines:
[https://www.transifex.com]
hostname = https://www.transifex.com
password = my_transifex_password
token =
username = my_transifex_username
Step2: Unzip the folder TvWishListTransiFexGetSingleLanguage.zip
Step3: Open the file TvWishListTransifex.bat with a text editor and correct your language (2-letter code)
Step4: Open the file CopyLanguages.bat with a text editor and update your paths
Step5: run TvWishListTransifex.bat
Step6: run CopyLanguages.bat in administrator mode by right clicking on the file and select "run as admin" (needed to copy the MP2 language file into the program folder)
As always the use is on your own risk. You should be familiar with batch scripts to use this procedure.
A big thanks for all your work on the translations,
huha
Attachments
Last edited: