TinyPortal

Development => Support => Topic started by: BD.shumar on July 07, 2008, 10:15:36 PM

Title: 2 languages on front page
Post by: BD.shumar on July 07, 2008, 10:15:36 PM
I have SMF 1.1.5 and TP 0.9.8. And have a question.
I need that front page can be in 2 languages.
That I can choose which one.
If English language is chosen, on front page is everything is in English, including articles (that already written in English), if Serbian language is chosen then articles are in Serbian language.
I don't need from SMF+TP to translate me my articles, I only need that articles is changed, depending on chosen language.

Thank you.
Title: Re: 2 languages on front page
Post by: Smoky on July 07, 2008, 10:31:14 PM
i think, if you go back to smf, and look at langauge drop down mod (http://custom.simplemachines.org/mods/index.php?mod=598) you will find what you are wanting.. ;)
Title: Re: 2 languages on front page
Post by: BD.shumar on July 07, 2008, 11:08:15 PM
But how to do that when someone change language load article written in other (chosen) language ?
I have article that is always on frontpage.
Title: Re: 2 languages on front page
Post by: Smoky on July 07, 2008, 11:20:11 PM
you will have to ask the mod creator.. wish i could help you on this
Title: Re: 2 languages on front page
Post by: IchBin on July 08, 2008, 12:20:54 AM
TP does not have the option to display articles based on language shown.
Title: Re: 2 languages on front page
Post by: Smoky on July 08, 2008, 12:35:24 AM
i didnt make myself clear, i am sorry. for what BD.shumar is wanting, is that mod. it will change the entire site to what ever language is wanted. that might be for the best, and if there is any questions, to ask the creator of the language drop down.

lol did i get it right this time ICH??  :P
Title: Re: 2 languages on front page
Post by: BD.shumar on July 08, 2008, 05:54:16 AM
Thank you for your help, both of you..
Title: Re: 2 languages on front page
Post by: Smoky on July 08, 2008, 07:55:12 AM
hope you get it working right BD.shumar ;)
Title: Re: 2 languages on front page
Post by: BD.shumar on July 08, 2008, 12:03:27 PM
One more question, that maybe help me. :)
Is there any chance for multilingual articles ?

I need something like this:
(Multilingual Board Description)
http://custom.simplemachines.org/mods/index.php?mod=1276
using this:
(Language Drop Down)
http://custom.simplemachines.org/mods/index.php?mod=598
but for articles...
Title: Re: 2 languages on front page
Post by: Smoky on July 08, 2008, 12:45:10 PM
you would have to ask the mod creator for that one too to see if Serbian would be an option.  it is a good idea for you :D
Title: Re: 2 languages on front page
Post by: BD.shumar on July 08, 2008, 09:27:08 PM
Quote from: IchBinâ,,¢ on July 08, 2008, 12:20:54 AM
TP does not have the option to display articles based on language shown.

There is no mod for TP for multilingual articles ?

Quote from: Smoky on July 08, 2008, 12:45:10 PM
you would have to ask the mod creator for that one too to see if Serbian would be an option.  it is a good idea for you :D
Thank you, Smokey.
Title: Re: 2 languages on front page
Post by: IchBin on July 08, 2008, 09:29:45 PM
No there is no mod. You can certainly write your own articles in different languages and then display them. But displaying them based on the language set in a users profile is not an option of TP.
Title: Re: 2 languages on front page
Post by: G6Cad on July 08, 2008, 10:11:57 PM
I did it like this on my site for the frontpage.

2 articles, one Swedish, and one english.
Swedish is the default lanaguege for the entire site, but they have the option to read the article on the frontpage in English from the Swedish article. A simple link at the top of the first article leads to the english one.

www.septaldefects.org