Missing support for Finnish language
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 https://github.com/dotnet/command-line-api/pull/2041. The migration guide asked me to file an issue.
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 XlfLanguages property described at https://github.com/dotnet/dotnet/blob/2db1f5ee2bdda2e8d873769325fabede32e420e0/src/arcade/src/Microsoft.DotNet.XliffTasks/README.md#project-properties.
@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 ?
We need to check that we can add Finnish translation support through our localization and compliance processes. Moving to Future.
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.