Hi,
in my app, its actually running in two languages (german/engl) I just use
a db-table with key/value-pairs.. but in my app theres never a large
amount of text, I'm just translating link-title, some small teasers,
error-msgs..
thats about the text on that website...
It uses machII, so when the page-content is generated I output the keys
on that page and at last call an event 'translatepage' to translate the
keys in my content-variable (I marked these keys when generated to the
page like this: {{idx.title}} )
for my (flash-) forms I use a different table where I 've a form name, a
key and a value. A machII-filter takes the key/value pair for my forms..
And there are of course some more tables for translating some dynamic
form values that come from my db eg a user can select interest in a form..
these interest are stored in my db (just ids) and an additional matrix
determines which interest-name does belong to which id in the selected
language. (hmm is that right? it's some months ago, I created it..
anyway... something like that) site is: www.friendcom.de
regards
--
Sebastian Mork
[EMAIL PROTECTED]
--
On Wed, 25 Jan 2006 14:24:26 +0000 (GMT)
Mark Flewellen <[EMAIL PROTECTED]> wrote:
> Can anyone recommend the best way to code in the use
> of foreign languages on a website. Is it best to store
> in a database, or include files etc. Any examples
> would be appreciated.
>
> mark
>
>
>
>
>
> ___________________________________________________________
> Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with
> voicemail http://uk.messenger.yahoo.com
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230437
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54