Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> tlumaczenie wybranego elementu na stronie
peterlan
post
Post #1





Grupa: Zarejestrowani
Postów: 131
Pomógł: 0
Dołączył: 25.10.2012

Ostrzeżenie: (0%)
-----


Witam, czy ktos moze wie jak poprzez google translate tlumaczyc tylko wybranego diva na stronie?

aktualnie pobralem kod z google translate manager, jednak tlumaczy mi cala strone.

  1. <script type="text/javascript">
  2. function googleTranslateElementInit() {
  3. new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'de,da,en', layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL, multilanguagePage: true}, 'google_translate_element');
  4. }
  5. </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>


Mozna w php to jakos zrobic? sa moze jakies klasy dzieki ktorym div tlumaczony bylby automatycznie?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 22:24