[SOLVED] How do I change static text according to choosen language

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
bootdog
Forum Members
Forum Members
Posts: 16
Joined: Sun Oct 12, 2008 6:15 pm

[SOLVED] How do I change static text according to choosen language

Post by bootdog »

Hello !

I have 2 languages - danish and english.

In my template I have the following

{breadcrumbs starttext='You are in' root='Home' delimiter='»'} {content}


i would want it to support something link... (Pseudo code)

{breadcrumbs
if lang='da_DK' then
   starttext='Text in Danish'
elseif
  starttext = 'Text in English'
endif
root='Home' delimiter='»'} {content}



How do I do that ???

brgds
bootdog
Last edited by bootdog on Sun Nov 09, 2008 9:30 am, edited 1 time in total.
alby

Re: How do I change static text according to choosen language

Post by alby »

bootdog wrote: How do I do that ???
The answer is in tips #7

Alby
bootdog
Forum Members
Forum Members
Posts: 16
Joined: Sun Oct 12, 2008 6:15 pm

Re: [SOLVED] How do I change static text according to choosen language

Post by bootdog »

Grazie .. thanks Alby....

Its now up and running - nearly 90 % done in releasing the website...

Have another problem but will write that in the relevant forum.

Thanks for all the time you spend helping around here !!!!!!!!!!!!!1
Locked

Return to “[locked] CMSMS MLE fork”