Owl.Abp.CultureMap | language code to the specified language
kandi X-RAY | Owl.Abp.CultureMap Summary
kandi X-RAY | Owl.Abp.CultureMap Summary
it can help you map the language code to the specified language.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Owl.Abp.CultureMap
Owl.Abp.CultureMap Key Features
Owl.Abp.CultureMap Examples and Code Snippets
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure(options =>
{
options.Languages.Add(new LanguageInfo("en", "en", "English"));
options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "简体中文"));
opt
Community Discussions
Trending Discussions on Owl.Abp.CultureMap
QUESTION
I'm using Abp startup template with Blazor UI and EF Core I'm building a single language web app and basically want to get rid of every other language and set Turkish ("tr") for the default language/culture.
What is the recommended way to achieve this, without having to install any third-party NuGet package (such as Owl)?
Please note that I'm still new to the Abp Framework, so kindly include the file/project names in your answer(along with the code snippet, if possible)
...ANSWER
Answered 2021-Feb-25 at 08:21To remove all other languages and use Turkish ("tr") by default, you can update the ConfigureLocalization
method in the ProjectNameHttpApiHostModule
file under the ProjectName.HttpApi.Host
folder to include the only tr. For example, the content of the ConfigureLocalization
method should now be as follows:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Owl.Abp.CultureMap
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page