Closed AmirImam closed 4 years ago
Thanks dear for reaching
The issue related to desereralize of the YAML files there is should be a space between the and values in your language file like this
Home: Home
Administration: Administration
Home: الرئيسية
Administration: الإدارة العامة
This will solve this issue
Thanks for using AKSoftware.Localization
Hi, Thanks for this great tool There is a problem that suddenly appeared. The app stopped and shows error "There is no language files existing in the Resource folder within 'MY_APP' assembly" After install NuGet package of this tool I have added service like that
builder.Services.AddLanguageContainer(Assembly.GetExecutingAssembly(), CultureInfo.GetCultureInfo("ar-EG"));
Than in component[Inject] public ILanguageContainerService Localizer { get; set; }
And I wrote languages YML files like that en-US.yml
ar-eg.yml