Hi
i need to create a website with multilanguage support
with asp runner 5.x is simple for labels
i have modified also languages files in include directory and all works fine
but...
how is possbile to have multiple language also on field ?
example
TABLE1
Id_code
DES_ITA
DES_ENG
DES_FRA
i would like to have a page with all label in my language (Ita) and when customer need to switch , could see everything in his/her language (Eng,Fra,Deu, ....)
so when i am in ita language
i would like to see on list,add,edit, ecc only
Id_code
DES_ITA
If i switch to Eng language
i would like to see on list,add,edit, ecc only
Id_code
DES_ENG
I did not found a solution that look simple and scalable
i had use smarty.add in before show to create a variable that i could test inside add,edt,list,... page with
{if $language_ita }
.....
{/if}
{if $language_eng }
.....
{/if}
but how i can use different field inside , example , in lookup wizard ?
i do not found how to pass SESSION("language") to a SQL query where i could use a case statment
some like this
CASE SESSION("language")
WHEN 'Italian' THEN DesCompIta
WHEN 'German' THEN DesCompGer
WHEN 'English' THEN DesCompEng
WHEN 'French' THEN DesCompFra
WHEN 'Spanish' THEN DesCompSpa
ELSE Id
to use inside lookup as custom
It is possible to create a vbs/javascript function and call it inside lookup wizard as custom ?
Any idea ?
any help apprecied
Thanks
Carlo