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 1
MediaPortal 1 Plugins
ShowTimes Plugin Suite V3.4.3 (2017-01-09)
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="GXRibeiro" data-source="post: 662134" data-attributes="member: 107340"><p><strong>Re: ShowTimes Plugin Suite V3</strong></p><p></p><p>Nephilim</p><p></p><p>Can you add support for Brazil in ShowTimes?</p><p>I help you! So easy!</p><p></p><p>Works exactly as English!</p><p></p><p>To get the ShowTimes list:</p><p><a href="http://www.google.com/movies?hl=en&sc=1&rl=1&near=Sao+Paulo+Brasil&date=0&start=0&0,9639355=0,9639355" target="_blank">Movie Showtimes - Google Search</a></p><p>Note: Use the word "Brasil" after the search string, ex: Sao+Paulo+Brasil</p><p></p><p>To get the movie data:</p><p><a href="http://www.google.com/movies?hl=pt_BR&sc=1&rl=1&near=Sao%20Paulo%20Brasil&date=0&start=0&0,2181774=0,2181774" target="_blank">Movie Showtimes - Google Search</a></p><p>Note: Don´t need to change "hl=en" to "hl=pt_BR". Nothing happens.</p><p></p><p>In other parts is the same: you don´t need to change from 'en_US' to 'pt_BR', because the IMDB translate the movie title from Portuguese to English:</p><p></p><p><a href="http://app.imdb.com/find?api=v1&appid=iphone1_2&locale=en_US&q=Wall+Street+O+Dinheiro+Nuca+Dorme" target="_blank">http://app.imdb.com/find?api=v1&appid=iphone1_2&locale=en_US&q=Wall+Street+O+Dinheiro+Nuca+Dorme</a></p><p><a href="http://app.imdb.com/find?api=v1&appid=iphone1_2&locale=pt_BR&q=Wall+Street+O+Dinheiro+Nuca+Dorme" target="_blank">http://app.imdb.com/find?api=v1&appid=iphone1_2&locale=pt_BR&q=Wall+Street+O+Dinheiro+Nuca+Dorme</a></p><p></p><p>(Result is the same. The translated part on response affects only the development).</p><p></p><p>The most complex part of this implementation is to replace acentuation to normal caracters, like this:</p><p><a href="http://app.imdb.com/find?api=v1&appid=iphone1_2&locale=en_US&q=O+%C3%9Altimo+Exorcismo" target="_blank">http://app.imdb.com/find?api=v1&appid=iphone1_2&locale=en_US&q=O+Último+Exorcismo</a></p><p><a href="http://app.imdb.com/find?api=v1&appid=iphone1_2&locale=en_US&q=O+Ultimo+Exorcismo" target="_blank">http://app.imdb.com/find?api=v1&appid=iphone1_2&locale=en_US&q=O+Ultimo+Exorcismo</a></p><p></p><p>With this implementation, i help you to make full translation. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>In time: string_pt-BR.xml</p><p></p><p>[PHP]<?xml version="1.0" encoding="utf-8"?></p><p><Language name="Portuguese (Brazil)" characters="255"></p><p> <Section name="unmapped"></p><p> <String id="1">Ver todos filmes</String></p><p> <String id="2">Ver cinemas</String></p><p> <String id="3">Ver Trailer</String></p><p> <String id="4">Cinemas</String></p><p> <String id="5">Próxima atualização</String> </p><p> <String id="6">Atualizar cinemas</String></p><p> <String id="7">Atualizar os dados agora mesmo?</String></p><p> <String id="8">Atualizando cinemas</String></p><p> <String id="9">Extra</String></p><p> <String id="10">Bilheterias</String></p><p> <String id="11">Em breve</String></p><p> <String id="100">Ver: Ícones</String></p><p> <String id="101">Ver: Lista</String> </p><p> <String id="417">Ver: Ícones grandes</String></p><p> <String id="733">Ver: Filme</String></p><p> </Section></p><p></Language>[/PHP]</p><p></p><p>Thank you!</p></blockquote><p></p>
[QUOTE="GXRibeiro, post: 662134, member: 107340"] [b]Re: ShowTimes Plugin Suite V3[/b] Nephilim Can you add support for Brazil in ShowTimes? I help you! So easy! Works exactly as English! To get the ShowTimes list: [url=http://www.google.com/movies?hl=en&sc=1&rl=1&near=Sao+Paulo+Brasil&date=0&start=0&0,9639355=0,9639355]Movie Showtimes - Google Search[/url] Note: Use the word "Brasil" after the search string, ex: Sao+Paulo+Brasil To get the movie data: [url=http://www.google.com/movies?hl=pt_BR&sc=1&rl=1&near=Sao%20Paulo%20Brasil&date=0&start=0&0,2181774=0,2181774]Movie Showtimes - Google Search[/url] Note: Don´t need to change "hl=en" to "hl=pt_BR". Nothing happens. In other parts is the same: you don´t need to change from 'en_US' to 'pt_BR', because the IMDB translate the movie title from Portuguese to English: [url]http://app.imdb.com/find?api=v1&appid=iphone1_2&locale=en_US&q=Wall+Street+O+Dinheiro+Nuca+Dorme[/url] [url]http://app.imdb.com/find?api=v1&appid=iphone1_2&locale=pt_BR&q=Wall+Street+O+Dinheiro+Nuca+Dorme[/url] (Result is the same. The translated part on response affects only the development). The most complex part of this implementation is to replace acentuation to normal caracters, like this: [url]http://app.imdb.com/find?api=v1&appid=iphone1_2&locale=en_US&q=O+%C3%9Altimo+Exorcismo[/url] [url]http://app.imdb.com/find?api=v1&appid=iphone1_2&locale=en_US&q=O+Ultimo+Exorcismo[/url] With this implementation, i help you to make full translation. ;) In time: string_pt-BR.xml [PHP]<?xml version="1.0" encoding="utf-8"?> <Language name="Portuguese (Brazil)" characters="255"> <Section name="unmapped"> <String id="1">Ver todos filmes</String> <String id="2">Ver cinemas</String> <String id="3">Ver Trailer</String> <String id="4">Cinemas</String> <String id="5">Próxima atualização</String> <String id="6">Atualizar cinemas</String> <String id="7">Atualizar os dados agora mesmo?</String> <String id="8">Atualizando cinemas</String> <String id="9">Extra</String> <String id="10">Bilheterias</String> <String id="11">Em breve</String> <String id="100">Ver: Ícones</String> <String id="101">Ver: Lista</String> <String id="417">Ver: Ícones grandes</String> <String id="733">Ver: Filme</String> </Section> </Language>[/PHP] Thank you! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
ShowTimes Plugin Suite V3.4.3 (2017-01-09)
Contact us
RSS
Top
Bottom