...
- With the context.Localize method you can make translation for a defined language or for the active language.
- [=c.Localize("default[$default:close]")]
- [=c.Localize("[$default:close]",en-US)]
- With the context.ToString method, an object can be formatted based on a language.
- [=c.ToString(DateTime.Now,"en-US","dd MMM yyyy")]
- [=c.ToString(DateTime.Now,"tr-TR","dd MMM yyyy")]
- [=c.ToString(DateTime.Now,null,"dd MMM yyyy")]