asp.net mvc - MVC 4 EF multilanguage site -
i have mvc4 application classlibrary classes. have class accommodation , class accommodationtranslation wich holds translations properties: accommodationid, languageid, name, description.
so dependent on languageid want load translations choosen language.
can give me hint or example.
thanks in advance
you need save language user choose in cookie or user profile , according value call accommodation inner join accommodationtranslation
Comments
Post a Comment