This topic is locked

Automatic language selection on lookup table

6/26/2009 1:56:07 PM
PHPRunner General questions
E
emilio833 author

Hi,

I have one table with descriptions in various languages according to this definition:
group (key)

desceng (english description)

descfre (french description)

descita (italian description)

descger (german description)
The "group" field should be viewed as the description in the current language within the dropdown list in all pages that need to be changed.

In which way "edit as" settings of this field, in the definition of lookup table, I can achieve this?

Or which modify to the code I have to do to get this?

Thank you.

Emil

J
Jane 6/30/2009

Hi,
you need to edit BuildSelectControl function in the generated include/commonfunctions.php file for this purpose.

You should be familiar with PHP for that.