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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -