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

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

java - SmsManager sending message more than one -