French as a second language

Questions and Answers that relate to the [CS] Version of POS Pizza 6 and 7
Post Reply
mohlotf
Active Member
Active Member
Posts: 82
Joined: Wed Jun 11, 2014 12:26 am
Location: Ottawa Canada
Contact:

French as a second language

Post by mohlotf »

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

Thanks

Moe
User avatar
Scott
Site Admin
Site Admin
Posts: 2564
Joined: Wed Apr 16, 2003 5:35 pm
Location: Western PA

Re: French as a second language

Post by Scott »

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
TOIMI
Member
Member
Posts: 17
Joined: Mon Apr 24, 2017 1:51 pm

Re: French as a second language

Post by TOIMI »

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?
User avatar
Scott
Site Admin
Site Admin
Posts: 2564
Joined: Wed Apr 16, 2003 5:35 pm
Location: Western PA

Re: French as a second language

Post by Scott »

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
Post Reply