allow main culture to change with localisation preferences
This commit is contained in:
parent
fa6e5bc16e
commit
d6515fa50c
1 changed files with 6 additions and 2 deletions
|
|
@ -112,12 +112,16 @@ namespace Yavsc
|
||||||
{
|
{
|
||||||
var supportedCultures = new[]
|
var supportedCultures = new[]
|
||||||
{
|
{
|
||||||
new CultureInfo("en")
|
new CultureInfo("en"),
|
||||||
|
new CultureInfo("fr"),
|
||||||
|
new CultureInfo("pt")
|
||||||
};
|
};
|
||||||
|
|
||||||
var supportedUICultures = new[]
|
var supportedUICultures = new[]
|
||||||
{
|
{
|
||||||
new CultureInfo("fr"),
|
new CultureInfo("fr"),
|
||||||
new CultureInfo("en")
|
new CultureInfo("en"),
|
||||||
|
new CultureInfo("pt")
|
||||||
};
|
};
|
||||||
|
|
||||||
// You must explicitly state which cultures your application supports.
|
// You must explicitly state which cultures your application supports.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue