X Tutup
The Wayback Machine - https://web.archive.org/web/20210824101026/https://github.com/PowerShell/PowerShell/issues/666
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization story #666

Open
vors opened this issue Mar 15, 2016 · 6 comments
Open

Localization story #666

vors opened this issue Mar 15, 2016 · 6 comments

Comments

@vors
Copy link
Collaborator

@vors vors commented Mar 15, 2016

Question came out during our onboarding hackathon: "Who will localize our resources when we move to github?"

Assigned to Joey to follow-up.

@vors
Copy link
Collaborator Author

@vors vors commented Mar 15, 2016

Issue number suggests it's going to be fun.

@vors vors mentioned this issue Mar 15, 2016
12 tasks
@andschwa
Copy link
Member

@andschwa andschwa commented Mar 15, 2016

Without cross-platform resgen (#395), this isn't going to be fun.

andschwa added a commit that referenced this issue Mar 26, 2016
Specifically this enables us to leverage `dotnet-resgen` to
auto-generate the `resx` files into `resources` files for the default
culture, which are then compiled into the SMA assembly.

This requires a change to the C# bindings. The Windows build system
takes `file.resx` and compiles `file.resources`, but CLI prepends the
assembly name, thus compiling `SMA.file.resources`. So the resource
manager in the generated bindings must be adjusted to look for
`SMA.file` instead of `file`.

Note that C# bindings cannot yet be auto-generated.

Given localized resources of the form `file.en-US.resx`, `dotnet-resgen`
will create a satellite assembly and publish it to
`en-US/SMA.resources.dll`, so #666 will not be a technical problem.
@andschwa andschwa added this to the RTM milestone Apr 20, 2016
@andschwa andschwa added this to the RTM milestone Apr 20, 2016
@andschwa
Copy link
Member

@andschwa andschwa commented Apr 27, 2016

There is now improved satellite assembly support, per dotnet/cli#2511.

@HemantMahawar HemantMahawar removed this from the Aug17 milestone Jul 20, 2016
@HemantMahawar HemantMahawar added this to the Future milestone Jul 20, 2016
@HemantMahawar HemantMahawar added this to the Future milestone Jul 20, 2016
@HemantMahawar HemantMahawar removed this from the Aug17 milestone Jul 20, 2016
@vors vors removed the cut-aug17 label Jul 21, 2016
@vors vors removed their assignment Jul 30, 2016
@SteveL-MSFT SteveL-MSFT added this to the 6.0.0 milestone Oct 17, 2016
@SteveL-MSFT SteveL-MSFT removed this from the post-6.0.0 milestone Oct 17, 2016
@joeyaiello
Copy link
Member

@joeyaiello joeyaiello commented May 22, 2017

Assigning this to me to follow-up with legal to determine to what extent we need this.

@iSazonov
Copy link
Collaborator

@iSazonov iSazonov commented Oct 8, 2017

Any news?

@mklement0
Copy link
Contributor

@mklement0 mklement0 commented Oct 2, 2019

Copying over a simple Pester test for localized error messages from the now closed duplicate #10679:

[cultureinfo]::CurrentUICulture = 'de-DE'; Get-Item nosuch 2>&1 | Should -match 'nicht gefunden'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
9 participants
X Tutup