5 Answer(s)
-
0
Hi,
The localization key is
Saas::InviteUser. The description line right under it usesSaas::InviteUserDescription.These two entries were added recently, but the non-English locale files in the Saas resource still carry the English text — that's why your menu shows up in English even when the rest is in Finnish. We'll ship translations for all locales in the next release. In the meantime you can override them in your project following this article:
- Add
Localization/SaasOverride/fi.jsonto your.Domain.Sharedproject:
{ "culture": "fi", "texts": { "InviteUser": "Kutsu admin-käyttäjä liittymään vuokralaiseen", "InviteUserDescription": "Tämä lähettää sähköpostiviestin, ja kun käyttäjä hyväksyy sen, hänestä tulee tämän vuokralaisen ylläpitäjä (myönnetään admin-rooli)." } }- In
<YourProject>.Domain.Shared.csprojembed the new folder:
<ItemGroup> <EmbeddedResource Include="Localization\SaasOverride\*.json" /> <Content Remove="Localization\SaasOverride\*.json" /> </ItemGroup>- In
<YourProject>DomainSharedModule.ConfigureServicesregister the override againstSaasResource:
using Volo.Saas.Localization; Configure<AbpLocalizationOptions>(options => { options.Resources .Get<SaasResource>() .AddVirtualJson("/Localization/SaasOverride"); });Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) - Add
-
0
Thanks, since we need to support languages that Abp does not support, we have already done that configuration. To make this easier for your customers, I think you should start listing the newly introduced localization keys and their context. This is not the first time I need to figure out the key.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
Glad you already had the override in place — we've added the missing translations for all bundled locales in the next release. I'll also pass along the suggestion about surfacing new keys.
Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
