|
|
Saturday, October 25, 2008
|
|
Converting the personal website in a multi-language site poses four distinct problems:
- Page Text,
- Database Structure regarding items such as albums and media, which must be modified to handle album names and media names and keywords in more than one language,
- “Loose Phrases” (such as: “Viewed x times” for a photo),
- Image Buttons with text such as:
, which are language specific.
Regarding page text, the solution followed consists in storing all structured text (as opposed to loose phrases) in the database: Each page can have eight header fields and text nine fields which are displayed by “DataList” sections. To populate the pages, a Contents management page has been added to the Admin sections. These pages use the "FCKeditor" server control to format the text properly.
- You can find the first part (Page Text) here.
- You can find the second part (DataBase Structures) here.
- You can find the third part (Loose Strings) here.
- You can find the fourth part (Image Buttons) here.
- You can find the fifth part (Miscellaneous) here.
- You can find a demo of the DynamicButton here.
At the end of the articles, there is a download with the code. Note: You must be a registered user to have access to the download.
|
arnoldus
at
Saturday, October 25, 2008 12:00 AM
(0)
Comments
|
Add a comment
|
Permalink
|
|
|
|
|