Hi all,

 

I just joined this group. I am new to web2py. I need to create a site with 
several languages. I will use the T feature for menu items and the like, 
and the db content will be translated as well. So I have several questions:

 

1) Is there a DEFAULT / PREFERABLE / STANDARD / SUGGESTED / BEST PRACTICE 
way to internationalize the DB CONTENT with web2py. Is there a manual? A 
video tutorial?

 

(I am aware of the http://www.vimeo.com/7520812 (*) tutorial on 
internationalization and it does not cover the db content)

 

More specifically I am curious about:

 

2) What is the preferable URL structure?

 

Should it be 

 

  mysite.com/en/….

  mysite.com/fr/….

  mysite.com/otherlang/….

 

as discussed in 
http://www.mail-archive.com/[email protected]/msg33420.html

 

or I should prefer not to change the URL as suggested in the (*) tutorial?

 

3) Is there a preferable db structure?

 

Should I have one table for like 

 

Customer

-----------

id

lang

other fields

 

or should I have separate tables for each language like

 

Customer_en          Customer_fr          Customer_otherlang

-----------                   -----------                 -----------

id                            id                         id

other fields             other fields             other fields


or other


Please help

 

Thanks

Reply via email to