HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Installing Google Translation Query

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#70961 (In Topic #14981)
Avatar

Fan in training

Where's the "Side Block"

Hi

I'm totally new to OcPortal .. so forgive my denseness. I've installed the Google Translate addon and I've noticed the …

"By adding

Code

[block]side_language[/block]
to the side block of your website, you will give your users the option to translate the content of your website into another language by using Google Translate."

My question … Which side block? There's heaps of them in the templates folder.

Thanks

O_o

You can use logic to justify anything. That's its power. It’s also it’s flaw
Back to the top
 
Posted
Rating:
#70966
Avatar

Community saint

Hi keekwai, welcome aboard! I'm wondering if that blurb should say "panel" and not "block". The translate block should work by putting it in one of your side panels, left or right.

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#71049
Avatar

Fan in training

Thanks for that. Sorted and working now.

One more question.

Does anyone know where I can get Thai language for it like this site has? (In the footer)

The "lang_custom" folder included in the addon only has 18 languages and Thai is not one of them.


EDIT: … I made another folder called "TH" in the "lang_custom" folder and copied a "global.ini" into it. Then edited all the files with languages mentioned to include Thai .. e.g " 'th'=>'Thai' "  and  "case 'th':" etc (without the quotes)

Won't work. When I click on "Thai" in the dropdown menu the page refreshes into … English!

Anyone know what I'm missing?


Last edit: by keekwai

You can use logic to justify anything. That's its power. It’s also it’s flaw
Back to the top
 
Posted
Rating:
#71051
Avatar

ocStaff (admin)

Not sure, but this site is not running the addon -- we are just using the standard Google Translate widget, not a specific ocPortal addon.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#71055
Avatar

Fan in training

Hmm, OK. Not a great endorsement for the plugin then. Lol.

I'll check out Google … thanks.

You can use logic to justify anything. That's its power. It’s also it’s flaw
Back to the top
 
Posted
Rating:
#71057
Avatar

ocStaff (admin)

Well, it serves a purpose, to seed translated content on a big complex site, but yeah I prefer the simplicity of just letting Google translate via their supported way.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:
 Add topic 

Quick reply   Contract

Your name:
Your message: