You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add Finnish translations of System.CommandLine strings like "Options:" and "Required command was not provided."
An application would have been able to provide the translations to System.CommandLine 2.0.0-beta4.22272.1, but this is no longer possible in 2.0.0-beta5.25306.1, as the UseLocalizationResources method and the LocalizationResources class were removed from the public API in #2041. The migration guide asked me to file an issue.
@ViktorHofer do you have any idea why adding the Finnish resource file gets a different treatment than other languages? Is it the XlfLanguages suggested by @KalleOlaviNiemitalo ?
I wonder though if I could just build a resource assembly myself, fake sign it with PublicSign, and reference it alongside the System.CommandLine package.
@ViktorHofer do you have any idea why adding the Finnish resource file gets a different treatment than other languages? Is it the XlfLanguages suggested by @KalleOlaviNiemitalo ?
I believe so, yes. Looks like Finish isn't part of the default language set used by xliff-tasks.
Activity
add Finnish translations, fixes dotnet#2587
add Finnish translations (#2605)
KalleOlaviNiemitalo commentedon Sep 16, 2025
Please reopen this.
https://nuget.info/packages/System.CommandLine/2.0.0-rc.1.25451.107 shows that the Finnish satellite assembly is not included in the System.CommandLine package, even though the strings exist at https://github.com/dotnet/dotnet/blob/2db1f5ee2bdda2e8d873769325fabede32e420e0/src/command-line-api/src/System.CommandLine/Properties/xlf/Resources.fi.xlf.
Perhaps System.CommandLine.csproj needs to set the
XlfLanguagesproperty described at https://github.com/dotnet/dotnet/blob/2db1f5ee2bdda2e8d873769325fabede32e420e0/src/arcade/src/Microsoft.DotNet.XliffTasks/README.md#project-properties.adamsitnik commentedon Sep 16, 2025
@ViktorHofer do you have any idea why adding the Finnish resource file gets a different treatment than other languages? Is it the
XlfLanguagessuggested by @KalleOlaviNiemitalo ?jeffhandley commentedon Sep 16, 2025
We need to check that we can add Finnish translation support through our localization and compliance processes. Moving to Future.
KalleOlaviNiemitalo commentedon Sep 16, 2025
I wonder though if I could just build a resource assembly myself, fake sign it with PublicSign, and reference it alongside the System.CommandLine package.
ViktorHofer commentedon Sep 17, 2025
I believe so, yes. Looks like Finish isn't part of the default language set used by xliff-tasks.