CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Anyone has multi language sollution?

Print topic Send  topic

Author Message
Headhunter
Posted: 12/22/2002, 11:34 PM

I want to make my site multi langual (3). Anyone done this before with success?

Thx
Clarion
Posted: 12/23/2002, 9:51 PM

I have done this successfully on a project. Contact me atclarion@dbsites.cjb.net.

Regards,
feha
Posted: 12/24/2002, 4:11 AM

Look at www.vision.to

Content Management System

regards
[www.vision.to]
Headhunter
Posted: 12/24/2002, 4:26 AM

Feha,

that's the thing i'm looking for. How do you manage it in CCS2?

Or do you manual code it? How?

Thanx
RonB
Posted: 12/24/2002, 5:46 AM

create all tables in database with multi language in mind (ie field language in every table that contains data that changes with language)
fill all data in several languages and set language code for each record.
Make and index.php(asp(jsp)) and when the user selects language set a session variable containing the language code. In each query enter a where condition that collects the language session variable and thus selects the right language.
Make labels for menu headers so titles arent hardcoded html butphp, asp or whatever. Use the language session variable to construct if/else ore case structures or use event to get the value from the database(again using the session variable to fill the where part of the query) (I'd prefer the query proces to hardcoding if/else structures)
Ron
feha
Posted: 12/24/2002, 8:09 AM

Ron has given very good solution ...

I use four index.php, index_1.php, index_2.php, index_3.php ...
So each index reads dedicated content from tables ...
In this case there are 4 different tieles, 4 different contents on the same record...
This makes possible that You can use this system for any language...
I have escaped writing titles with in form ...
(There is custom coding ...)
You can use even one index and pass parameters to input to view desired content ...
The DEMO of CMS is at:

http://www.vision.to/CMS_DEMO/
login:demo
password:demo



regards
feha
[www.vision.to]

feha
Posted: 12/24/2002, 8:09 AM

Ron has given very good solution ...

I use four index.php, index_1.php, index_2.php, index_3.php ...
So each index reads dedicated content from tables ...
In this case there are 4 different tieles, 4 different contents on the same record...
This makes possible that You can use this system for any language...
I have escaped writing titles with in form ...
(There is custom coding ...)
You can use even one index and pass parameters to input to view desired content ...
The DEMO of CMS is at:

http://www.vision.to/CMS_DEMO/
login:demo
password:demo



regards
feha
[www.vision.to]

Jeroen S.
Posted: 01/03/2003, 7:28 AM

I'm building a multi language site. The only thing I'm stuck with are the standard messages hardcoded in the generated files. CCS creates these messages using the xml files. Is there a sollution to make the standard messages, like errors, in multiple language which depend on a session or something? One solution would be creating multiple sites. But I'm talking about a site with about 150 pages. And I don't really feel like creating 3 or 4 different sites in different languages, only for these standard messages hardcoded in the generated files. So I need another solution than that.
RonB
Posted: 01/03/2003, 8:44 AM

"The only thing I'm stuck with are the standard messages hardcoded in the generated files."

What messages are talking about? Validation messages can be altered, the no records message can be altered.

Other error messages aren't supposed to show up on your page ;-)

Ron
Jeroen S.
Posted: 01/03/2003, 12:27 PM

I mean all messages from the Translation\Site\English.xml

These have to be different for all the different languages. But with CCS you can only choose one site language. So when I choose english for site language, all the messages, buttons, dates, etc are in english. How do I assign these values dynamically?

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.