close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Creating a bilingual admin interface/web site?

Thread began 4/12/2010 9:19 pm by jciol2009 | Last modified 4/21/2010 10:32 am by jciol2009 | 2825 views | 3 replies

jciol2009

Regarding this:

Originally Said By: Dani Chankhour
  Having two version of PowerCMS is going to be the approach that you want to take. and your folder structure should look like this:

Main Folder - call it "cms"
Sub Folder - call it "cms_en"
Sub Folder - call it "cms_jap"

On your index page, you could just have to links
<a href="cms_en">English</a><a href="cms_jap">Japanese</a>  



I actually prefer that the index.php at the root level would automatically detect browser language and direct to a corresponding language version. I already know how and I already have a PHP script for it. What I'm looking for is a way to set up a language selector in, say, the header area of the main template which automatically figure out which page a visitor is currently on and render an URL path automatically.

Ex) Let's say John is on "About Us" page in English site. He selects Japanese in the language switcher, and it would bring him to "About Us" page in Japanese site. In the same manner, the same switcher in "News" page should direct him to "News" page in Japanese site. Of course I know I can set up something like this manually in HTML, but I would have to go through every single page and manually code it. I am looking for a way to make it so the switcher itself would detect which page it is currently on and automatically figure out a correct path upon rendering of the page. I am guessing a line of PHP would do this but not exactly sure how. Making sense?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...