TinyPortal

Development => Support => Topic started by: atoast on August 12, 2010, 05:30:15 PM

Title: SMF Multilangual?
Post by: atoast on August 12, 2010, 05:30:15 PM
Hello everyone, i am building a site with SMF and tinyportal. the primary language will be english, but i would be interested in making it also german. does this work with TP? it would be nice if users could switch to english/german on the site, and then see the news and menus translated into this language. i know a joomla plugin that does the same, it would be really cool :)

thanks in advance!
Title: Re: SMF Multilangual?
Post by: IchBin on August 12, 2010, 08:26:04 PM
It's certainly possible. The only thing that needs to be done is to have the english TP language files translated to German. Then you just add those files to the Themes/default/languages folder. Choose German as your language in your profile and voila!
Title: Re: SMF Multilangual?
Post by: atoast on August 12, 2010, 10:15:05 PM
Quote from: IchBin on August 12, 2010, 08:26:04 PM
It's certainly possible. The only thing that needs to be done is to have the english TP language files translated to German. Then you just add those files to the Themes/default/languages folder. Choose German as your language in your profile and voila!

then its also possible to translate the news? i mean, to write english version first and then add a german version of the news post?
Title: Re: SMF Multilangual?
Post by: IchBin on August 13, 2010, 04:35:58 PM
What do you mean by "news"? Anything that is user posted, will have to be user translated. If it's not something built into the code of SMF/TP then it will have to be manually translated and posted by a user.
Title: Re: SMF Multilangual?
Post by: atoast on August 13, 2010, 06:44:33 PM
Quote from: IchBin on August 13, 2010, 04:35:58 PM
What do you mean by "news"? Anything that is user posted, will have to be user translated. If it's not something built into the code of SMF/TP then it will have to be manually translated and posted by a user.

yeah of couse, i didnt mean that it gets translated by itself... for example, currently we manage the news just by posting into a "news category" which is only available for admins. all posts in there appear on the frontpage. would it be possible to add a translation, and for example: when a user selects german, he sees the news in german instead of english?

if not, maybe its possible to create a new category "german news" and then only link the german news category to german user's frontpages?

lol a bit complicated, but i hope you understand what i mean.
thanks in advance
Title: Re: SMF Multilangual?
Post by: IchBin on August 13, 2010, 07:12:13 PM
There are no settings for what you are asking for. There's nothing in TP to detect what language a person is using for allowing them to see certain articles. You'll have to devise some sort of work around if that is what you want.