Title: Archive cmdlets fail if language and locale are not set to en_US · Issue #4180 · PowerShell/PowerShell · GitHub
Open Graph Title: Archive cmdlets fail if language and locale are not set to en_US · Issue #4180 · PowerShell/PowerShell
X Title: Archive cmdlets fail if language and locale are not set to en_US · Issue #4180 · PowerShell/PowerShell
Description: Steps to reproduce From bash/zsh on my MacOS 10.12 machine: LANG="en_AU.UTF-8" powershell -Command Import-Module Microsoft.PowerShell.Archive Expected behavior LANG="en_AU.UTF-8" powershell -Command Import-Module Microsoft.PowerShell.Arc...
Open Graph Description: Steps to reproduce From bash/zsh on my MacOS 10.12 machine: LANG="en_AU.UTF-8" powershell -Command Import-Module Microsoft.PowerShell.Archive Expected behavior LANG="en_AU.UTF-8" powershell -Comman...
X Description: Steps to reproduce From bash/zsh on my MacOS 10.12 machine: LANG="en_AU.UTF-8" powershell -Command Import-Module Microsoft.PowerShell.Archive Expected behavior LANG="en_AU.UTF-8"...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/4180
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Archive cmdlets fail if language and locale are not set to en_US","articleBody":"Steps to reproduce\r\n------------------\r\n\r\nFrom `bash`/`zsh` on my MacOS 10.12 machine:\r\n\r\n```bash\r\nLANG=\"en_AU.UTF-8\" powershell -Command Import-Module Microsoft.PowerShell.Archive\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n```none\r\nLANG=\"en_AU.UTF-8\" powershell -Command Import-Module Microsoft.PowerShell.Archive\r\n\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\n```none\r\nLANG=\"en_AU.UTF-8\" powershell -Command Import-Module Microsoft.PowerShell.Archive\r\nImport-LocalizedData : Cannot find the Windows PowerShell data file 'ArchiveResources.psd1' in directory '/usr/local/microsoft/powershell/6.0.0-beta.3/Modules/Microsoft.PowerShell.Archive/1.1.0.0/en-AU', or in any parent culture directories.\r\nAt /usr/local/microsoft/powershell/6.0.0-beta.3/Modules/Microsoft.PowerShell.Archive/1.1.0.0/Microsoft.PowerShell.Archive.psm1:28 char:1\r\n+ Import-LocalizedData LocalizedData -filename ArchiveResources\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : ObjectNotFound: (/usr/local/micr...eResources.psd1:String) [Import-LocalizedData], PSInvalidOperationException\r\n + FullyQualifiedErrorId : ImportLocalizedData,Microsoft.PowerShell.Commands.ImportLocalizedData\r\n```\r\n\r\n(`LANG=\"en_US.UTF-8\" powershell -Command Import-Module Microsoft.PowerShell.Archive` succeeds)\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```powershell\r\n> $PSVersionTable\r\n\r\nName Value\r\n---- -----\r\nPSVersion 6.0.0-beta\r\nPSEdition Core\r\nGitCommitId v6.0.0-beta.3\r\nOS Darwin 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64\r\nPlatform Unix\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n","author":{"url":"https://github.com/liamdawson","@type":"Person","name":"liamdawson"},"datePublished":"2017-07-04T05:36:27Z","url":"https://github.com/PowerShell/PowerShell/issues/4180"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:39b5eb55-c666-a3a9-568c-937e9e8f44ba |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C64:2F6606:2152776:2E90DED:6AFD303D |
| html-safe-nonce | 773a92668727da0b6246f3caa11bc2e48748af07b871bec3e503b22352ff4a18 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzY0OjJGNjYwNjoyMTUyNzc2OjJFOTBERUQ6NkFGRDMwM0QiLCJ2aXNpdG9yX2lkIjoiMjI2Nzc0OTE3MjIzODk1NDU1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 01a6ca7790b9e37a2cffe8307da1594357ffb8990c964577a5a3e3c722dfe947 |
| hovercard-subject-tag | issue:240316079 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/4180/issue_layout |
| twitter:image | https://opengraph.githubassets.com/87ccc037d73bc79f80ff65c389883a19531383d24c9aab94bb288ec8535309c8/PowerShell/PowerShell/issues/4180 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/87ccc037d73bc79f80ff65c389883a19531383d24c9aab94bb288ec8535309c8/PowerShell/PowerShell/issues/4180 |
| og:image:alt | Steps to reproduce From bash/zsh on my MacOS 10.12 machine: LANG="en_AU.UTF-8" powershell -Command Import-Module Microsoft.PowerShell.Archive Expected behavior LANG="en_AU.UTF-8" powershell -Comman... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | liamdawson |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width