> The text to be translated needs to be dynamic. I anticipate the users > entering each language in a different form field, so it seems like the > get_locale() function is what I had in mind. From what I can tell, > all i would need to do to use this is to call i18n.get_locale() and it > would return a string representing the session locale. is this > correct? > Hello, I see you are trying to create a non-standard application, let me ask you something. the English Users will never open the Chinese data, and never the other way, is this correct?
the Languages you need will be forever only En and Ch? if both answers are YES, I can suggest you the following: this way is more generic, and later you can add more languages, and consist in add in your tables a field identifying the language of entered data, than when user connect to your site, you can choose automatically or answer user to select the language and filter just data for user language, of course you will need to use i18n to translate your data forms, etc. this way you will get a form with all fields and will not worry about what field you have to fill. another way, is create a field for each language, and get the form data for correct field when users connect to system. I think you should choose the first option, is more clean and easier to maintain. but if you need all data shared with both languages, I don't see anyway to solve your problem. sorry bad English Att, - Alexandre da Silva Analista de Sistemas - Bacharel em Sistemas de Informação (2003-2007) gedit-todo http://alexandredasilva.wordpress.com/gedit-todo-list-plugin/ MicroDB http://www.assembla.com/space/microdb Open Sales Force System http://www.assembla.com/space/osfs opencomanche ([stopped] mail-me to get the latest source code) http://sourceforge.net/projects/opencomanche/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

