-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Slang does not generate the source, I don't see any error messages related to the source generation.
My setup:
localization.json:
{
"base_culture": "de-DE"
}AppLocalization.cs
[Translations(InputFileName = "locals")]
public partial class AppLocalization
{
}locals_de-DE.i18n.json
{
"Shared": {
"Menu": {
"Titel": "Menü",
"Items": {
"Home": "Home",
"AboutMe": "Über mich",
"Services": "Services",
"ServicesProjects": "Projekte",
"Contact": "Kontakt"
}
},
"Footer": {
"Impress": "Impressum & Datenschutz"
}
}
}locals_en-GB.i18n.json
{
"Shared": {
"Menu": {
"Titel": "Menu",
"Items": {
"Home": "Home",
"AboutMe": "About Me",
"Services": "Services",
"ServicesProjects": "Projects",
"Contact": "Contact"
}
},
"Footer": {
"Impress": "Imprint & Privacy Policy"
}
}
}
The Project file contains these relevant elements:
<ItemGroup>
<AdditionalFiles Include="**\*.i18n.json" />
<AdditionalFiles Include="Features\Core\Localization\localization.json"/>
</ItemGroup>
Metadata
Metadata
Assignees
Labels
No labels