TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
d gj
NA
64
2.7k
Multilanguage .NET cms
Aug 8 2017 4:08 AM
I am building a simple CMS in ASP.NET MVC. Can anyone provide me any help how to do it as multi language site, link or tutorial, to change the language in server side, I post news in that cms, so when I press English, it should show me the text in English, Spanish and so on..
So this is the model class :
public
int
Id {
get
;
set
; }
public
string
Content {
get
;
set
; }
public
string
Ctl {
get
;
set
; }
public
Nullable PublishDate {
get
;
set
; }
public
Nullable ExpiryDate {
get
;
set
; }
public
Nullable Exclude {
get
;
set
; }
public
string
Title1 {
get
;
set
; }
public
string
Title2 {
get
;
set
; }
public
string
Title3 {
get
;
set
; }
public
string
Title4 {
get
;
set
; }
public
string
Title5 {
get
;
set
; }
[AllowHtml]
public
string
ShortDescription1 {
get
;
set
; }
[AllowHtml]
public
string
ShortDescription2 {
get
;
set
; }
[AllowHtml]
public
string
ShortDescription3 {
get
;
set
; }
[AllowHtml]
public
string
ShortDescription4 {
get
;
set
; }
[AllowHtml]
public
string
ShortDescription5 {
get
;
set
; }
[AllowHtml]
public
string
LongDescription1 {
get
;
set
; }
[AllowHtml]
public
string
LongDescription2 {
get
;
set
; }
[AllowHtml]
public
string
LongDescription3 {
get
;
set
; }
[AllowHtml]
public
string
LongDescription4 {
get
;
set
; }
[AllowHtml]
public
string
LongDescription5 {
get
;
set
; }
public
Nullable InsertDate {
get
;
set
; }
public
string
InsertBy {
get
;
set
; }
public
int
OrderBy {
get
;
set
; }
I want to make such a cms that when I press English, it shows me the news from database in English, I want to support 5 languages, that's why I created 5 titles fields, 5 long and short descriptions and so on.
Reply
Answers (
4
)
Invoking Web Api from Angular
download multiple files