French as a second language

Questions and Answers that relate to the [CS] Version of POS Pizza 6
Active Member
Posts: 38
Joined: Tue Jun 10, 2014 11:26 pm
Location: Ottawa Canada

French as a second language

Postby mohlotf » Thu Oct 01, 2015 12:47 pm

Is it possible to have a second language option (in our case French), or at least have it online ordering?

Thanks

Moe

Site Admin
User avatar
Posts: 2066
Joined: Wed Apr 16, 2003 4:35 pm
Location: Western PA

Re: French as a second language

Postby Scott » Sun Oct 04, 2015 5:02 pm

Yes use a different theme prefix for the French site. Design the HTML pages in French. The menus will still all be common however, and there will be a few English words that show up in the CGIs.


Scott

Member
Posts: 14
Joined: Mon Apr 24, 2017 12:51 pm

Re: French as a second language

Postby TOIMI » Fri May 19, 2017 12:04 pm

I am interested in this too, as we have a high native french speaking population in area. would the modified HTML files just go in the htdocs folder alongside the originals?

Site Admin
User avatar
Posts: 2066
Joined: Wed Apr 16, 2003 4:35 pm
Location: Western PA

Re: French as a second language

Postby Scott » Sat May 20, 2017 6:06 am

Yes, we have all 3 of our demo themes up on the demo site, and all of the files are in the htdocs folder together. Just create a "French" theme and give the theme name a special prefix. That prefix will then be passed to the CGI files on login via form data. If your theme name and prefrix were "french":

<input type="hidden" name="theme" value="french">

This field would be included in the login form. Also each file name would start with french_ instead of cheese_ or their current name.

On the index page you could allow your customer to choose their language. Another method would be to replace the hidden field shown above with a combo box or radio option to choose the language right on the login page.

Once the initial "theme" value is passed at login, it is maintained by the remaining html forms as a variable, so you don't need to edit those files other than the language content itself, and the file names.


Scott

Return to CS Version Discussion

Who is online

Users browsing this forum: No registered users and 2 guests