Forum Archive - [solved] Web aplication problem (PHP)

[solved] Web aplication problem (PHP)
Aug 18, 2011 10:43 am by [email protected]
Hello, I have a problem with GTanslate Pro on my site. I have there 2 of web aplication (PHP). When I use Google Deafault method, everything looks ok. As you can see here http://www.trestik.cz/msa-spc-ford after changing language in the right "Google translate" block. When I use Redirect method, after clicking on the confirm button, nothing happens. As you can see here http://www.trestik.cz/en/msa-spc-ford. What could be wrong? And there is other problem with the text in confirm button. In redirect method, It didn´t translate the text "potvrdit volbu". When I use Google Default method, It can translate It. Thanks a lot, have a nice day
Re: Web aplication problem (PHP)
Aug 19, 2011 2:12 pm by Edvard
Hi, You need to use Redirect translation method with Pro option on. I cannot find the text you mentioned, where is it on the page?
Re: Web aplication problem (PHP)
Aug 20, 2011 7:46 am by [email protected]
Hi, unfortunately, It doesn´t solve my problem. I have already set Redirect translation method with Pro option. I leave it over the weekend, so you can try it. The text I have mentioned is on this page http://www.trestik.cz/en/msa-spc-ford. Text in the confirm button box. Regards Mira -------------------------------------------- ad. I discovered It could be a problem with passing parameter form. -------------------------------------------- Hi, I had to manually translate the application. Now I am trying to redirect from http://www.trestik.cz/en/msa-spc-ford to http://www.trestik.cz/msa-spc-ford-en without a positive result. I have already tried .htaccess redirection or Path Redirect (Drupal modul). Can anyone help me?
Re: Web aplication problem (PHP)
Aug 24, 2011 9:05 pm by Edvard
Hi, I found it, it is a input button and values for input buttons are not being translated by default. Can you change the button type to span or something else and add onclick javascript event to submit the form instead?
Re: Web aplication problem (PHP)
Aug 25, 2011 7:32 am by [email protected]
Dear Edvard, as I said. I had to manually translate the application. So the main problem is now to redirect from http://www.trestik.cz/en/msa-spc-ford to http://www.trestik.cz/msa-spc-ford-en. I guess, It is problem with modul, that add /en/ in URL and then I cannot redirect that URL. I will try javascript as You wrote.
Re: [solved] Web aplication problem (PHP)
Aug 25, 2011 8:52 am by Edvard
You can add a rewrite rule in .htaccess for that. RewriteRule ^en/msa-spc-ford$ /msa-spc-ford-en [QSA]

SIMILAR TOPICS

Joomshaper Pagebuilder buttons Link edit problemJan 11, 2019 10:04 amReplies: 1Post by: kumatest
Problem with pluginDec 30, 2018 11:59 pmReplies: 1Post by: Iyari
Problem of translation in my websiteDec 8, 2018 12:15 pmReplies: 1Post by: Ibrahim
Problem with qTranslate-x, please help!Aug 22, 2018 9:14 amReplies: 1Post by: sadammkhan
The problem with the translation of the social pluginDec 27, 2017 7:52 amReplies: 1Post by: UriyFil

Try GTranslate with a free 15 day trial