Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Multilingual Web Sites

Hi guys,

Just a CityDesk newbie here looking for some help.

I have created an English/French website using CityDesk. I would like to place a link on every page that points to the same article in the other language.

The CityDesk help file has a section on how to do this, however, the example assumes you have two addresses: mysite.com and monsite.fr (or something like that).  I do not have that luxury.

It is not clear how to accomplish the feat using the default setting of two folders called English/ and French/ . i.e. How do you switch between (for example) http://www.nowhere.com/English/article6.html and http://www.nowhere.com/French/article6.html, automatically, using CityScript?

I did create two templates, one for French and one for English.

Thanks in advance for any help!

Mtl_Dev
Tuesday, July 20, 2004

I don't know if this help with languages but it's the way to do printable pages using template families.  I'm sure someone must have figured this out already.

http://www.fogcreek.com/CityDesk/help/Creating_Templates/UsingTemplateFamilies.html

tk
Tuesday, July 20, 2004

The link Terry posted above should point you in the right direction... It's the same thing with languages except you just need to set up two publish locations... One that publishes English Templates to \English and one that publishes French Templates to \French.

(The example from the printer page assumes you have two directories, / and /printerFriendly, so its basically the same thing except now you have /English and /French)

Michael H. Pryor
Fog Creek Software
Wednesday, July 21, 2004

Thanks guys, I'll try it out when I have a chance.

Mtl_Dev
Wednesday, July 21, 2004

Thanks Michael.

David Burch
Wednesday, July 21, 2004

Well, I've done it and it's working.

The only annoyance is that now the Preview feature publishes 4 directories!!

English/English
English/French
French/English
French/French

because I have two template families (French and English) and two languages set up (French and English). I don't know how you would go about fixing this, however.

Also, the Publish feature now forces me to select both locations to publish. This is only a problem because the actual updating of the website is done by a non-techie. Before, it was great because one button push published the entire website, now there is an extra step for a non-techie to take.

It would be great if the "designer" can select the default locations to publish, and have the publish button continue to work automatically.

That's it! I hope Fog Creek people read this.

Thanks.

Mtl_Dev
Friday, July 23, 2004

*  Recent Topics

*  Fog Creek Home