TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,027
  • Total Topics: 21,334
  • Online today: 519
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 273
  • Total: 273

MultipleLanguages on TP

Started by magnastik, October 13, 2006, 11:13:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

magnastik

Hi!
Is it possible to have (for exemple) two languages on TP/smf at the same time?
I know that it can be done in SMF but in TP i don't have any idea.

Please help me!

Cya,
MagNastiK

G6Cad

It's the same for TP, Put the Tp language files in with the laguage files for SMF.

magnastik

Yes.. thanks!
But can i have a kind of boxe in the TP homepage where users can be able to select language?

Cya,
MagNAstiK

G6Cad


agridoc

You can have a language selector very easily, either by modifying index.template.php of the theme used or adding a language selector block.

While SMF changes language and buttons (if used) TP from 0.9.5 up has the possibility of custom block titles and block language permissions, so some blocks will appear only when a specific language is selected (custom language menus etc.).

Clever combinations of the above can build a multilingual site.

For language selector

In TP Language Selector, a solution with flags http://www.tinyportal.net/smf/index.php?topic=1152.msg22868#msg22868

Take a look also in SMF at
http://www.simplemachines.org/community/index.php?topic=84064.msg638837#msg638837 and below.

  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

magnastik

Hey!  ;)
I followed your tips and it works.
Now, i just have to add some texts that are missing in my language.

Just  another question..it's possible to add articles in different languages??  O0

Cya,
MagNAstiK

agridoc

Yes of course.

You may follow UTF-8 or non UTF-8 solution. Best choice depends on languages that you want to use.

What are the desired languages to use in your forum?
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

magnastik

I will use Portuguese and English!

Why are you asking?

Cya,
MagNAstiK

agridoc

They both use latin based alphabet so no UTF-8 is needed or, IMHO, recommended.

They also both use codepage ISO-8859-1 so no codepage cheat is needed either.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

magnastik

ÃÆ'Ã...½t is possible to create an article in both languages and then show the article in the right language when we change it from the language box?

Cya,
MagNastiK

This website is proudly hosted on Crocweb Cloud Website Hosting.