Forums

PHP

This topic is locked

PHP, DMX and i18n

Posted 04 Mar 2005 12:22:18
1
has voted
04 Mar 2005 12:22:18 Runar Oudmayer posted:
I'm a fairly experienced PHP programmer and I'm new to Dreamweaver MX 2004.

Presently I do have a multilingual site running, all done with PHP. I'd like to switch my design to a combination of DMX and PHP (exktensive use of databases) but I need some tip/info on how to handle internationalisation (i18n). Any suggestion?

Btw; I'm new to this forum, so pls. don't shoot me if I did'nt find this topic elsewhere....<img src=../images/dmxzone/forum/icon_smile_shy.gif border=0 align=middle>

Edited by - oudrun on 04 Mar 2005 12:25:18

Replies

Replied 04 Mar 2005 20:19:58
04 Mar 2005 20:19:58 Chris Charlton replied:
I'd start with CMS (Content Management Systems), and see what they say about multilingual.

The first though that came to mind was - same content table adding multiple rows (one for each language), and they all use a foreign-key to associate which article it's for. It's not a great idea, but I'm trying to get our brains brewin'. <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>
Replied 04 Mar 2005 21:21:05
04 Mar 2005 21:21:05 Runar Oudmayer replied:
Well, thew teqnique I'm using in my PHP solutions is more or less CMS "style". All language depended text is "defined" in constants. Then my pages look for users language and load in language files based on language from browser (or as a request from user).

All database language depended text is stored in a "language" file.

What I was wondering is if there is some "rules" you follow while designing this in Dreamweaver? I belive there are more than just me that has to solve problems like this....`<img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>
Replied 04 Mar 2005 21:26:53
04 Mar 2005 21:26:53 Chris Charlton replied:
I'd try XML, seems cleanest to me.

~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>
Replied 04 Mar 2005 23:04:35
04 Mar 2005 23:04:35 Runar Oudmayer replied:
Could you point me in any direction? Examples or description? I'm not very experienced wiyh XML.

Replied 05 Mar 2005 10:07:11
05 Mar 2005 10:07:11 Chris Charlton replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>Could you point me in any direction? Examples or description? I'm not very experienced wiyh XML.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Give www.w3schools.com/xml/ a read, good resource too.

~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>
Replied 05 Mar 2005 11:11:55
05 Mar 2005 11:11:55 Runar Oudmayer replied:
Tnks. I'll follow up on that and see where it leads me.....<img src=../images/dmxzone/forum/icon_smile_tongue.gif border=0 align=middle>

Reply to this topic