home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Plugin Development
Language Converter between MP1 and MP2
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="huha" data-source="post: 929223" data-attributes="member: 63847"><p>I updated the language converter and added the conversion for \' as shown in the TransifexHelper program.</p><p>chefkoch, I realized that the Transifex helper does not contain an encoding for the newline character from transifex, but you may not need this.</p><p>I had to convert the transifex newline character 9166 by</p><p> </p><p>Char transifexreturnline_char = Convert.ToChar(9166);</p><p>myline = myline.Replace(transifexreturnline_string, @"\n");</p><p> </p><p>Transifex will interprete in a string the two characters "\n" as a newline and convert it into a single character 9166.</p><p> </p><p>I also added a log file, a flexible input file and a silent mode.</p><p>So the user can now enter</p><p>MP2LanguageConverter.exe <inputfile> PROCESS</p><p> </p><p>Inputfile is the parameterfile and must have been generated by an old run of MP2LanguageConverter.exe, where the parameters are saved in MP2LanguageConverter.txt after exiting the program.</p></blockquote><p></p>
[QUOTE="huha, post: 929223, member: 63847"] I updated the language converter and added the conversion for \' as shown in the TransifexHelper program. chefkoch, I realized that the Transifex helper does not contain an encoding for the newline character from transifex, but you may not need this. I had to convert the transifex newline character 9166 by Char transifexreturnline_char = Convert.ToChar(9166); myline = myline.Replace(transifexreturnline_string, @"\n"); Transifex will interprete in a string the two characters "\n" as a newline and convert it into a single character 9166. I also added a log file, a flexible input file and a silent mode. So the user can now enter MP2LanguageConverter.exe <inputfile> PROCESS Inputfile is the parameterfile and must have been generated by an old run of MP2LanguageConverter.exe, where the parameters are saved in MP2LanguageConverter.txt after exiting the program. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Language Converter between MP1 and MP2
Contact us
RSS
Top
Bottom