I am also interested in locale strategies.
I would like to build a website which will be in Mandarin and
English. The English is mostly for my use as most users will see
mandarin. I expect it will be easiest to have most of my decorative
info (link names, static info) in the views themselves. The DB
content will be what it is (mostly mandarin), no need for multiple
copies.
I guess I first want to sniff the request (or maybe do a geo query on
the IP) and decide if I should serve up EN or CN views and
subsequently allow the user to click a preference (English or Chinese
link) to override my guesswork and set a cookie for the preference. I
do see how I would set the cookie. How to manage two sets of views I
do not see.
How have others done this with lift?
thanks, Jon
On Mar 2, 7:59 am, Derek Chen-Becker <
dchenbec...@gmail.com> wrote:
> That seems reasonable, although IIRC it means that you need two queries to
> the database to fetch a translation using mapper strictly. Of course, you
> could use the raw SQL queries on DB to fetch things with one join.
>
> Derek
>