Skip to content

More localization fixes for OpenFolderSchema.json - #1517

Merged
Gregg Miskelly (gregg-miskelly) merged 2 commits into
microsoft:mainfrom
gregg-miskelly:OpenFolderSchemaLocFixesV2
Sep 4, 2025
Merged

More localization fixes for OpenFolderSchema.json#1517
Gregg Miskelly (gregg-miskelly) merged 2 commits into
microsoft:mainfrom
gregg-miskelly:OpenFolderSchemaLocFixesV2

Conversation

@gregg-miskelly

Copy link
Copy Markdown
Member

This PR checks in fixes from using lcxadmin.exe to further edit OpenFolderSchema.json.lci. This also deletes a .lsproj and .lcg file which were checked in, but I believe should not have been as these are generated from the build.

Notes on how to do this in the future:

  1. Add MicroBuild.Plugins.Localization to the local nuget cache. I was able to do so thusly: nuget install MicroBuild.Plugins.Localization -Source "https://pkgs.dev.azure.com/devdiv/_packaging/MicroBuildToolset/nuget/v3/index.json" -Prerelease -OutputDirectory test. After running this, you should be able to remove the test directory since the plugin should now be in your nuget cache.
  2. Build the MIEngine solution
  3. In src\MIDebugPackage, build using msbuild /p:LocType=Pseudo /p:LocLanguages=VS /p:LSBuildVersion=V7 /p:LocalizationEnabled=true.
  4. Run NugetPackages\microsoft.devdiv.localization.toolset\1.1.24090301\current\lcxadmin.exe MIEngine\bin\Debug\localize\ENU\OpenFolderSchema.json.lcg MIEngine\loc\lci\OpenFolderSchema.json.lci to open the LCI editor, and configured strings.
  5. If you made changes in step 4, repeat step 3
  6. Use "C:\Program Files\Git\usr\bin\diff.exe" d:\dd\MIEngine\bin\Debug\OpenFolderSchema.json d:\dd\MIEngine\bin\Debug\localize\CHS\OpenFolderSchema.json | findstr /v /c:"description" to see if any non-description lines are being changed between ENU and the localized version.

This PR checks in fixes from using lcxadmin.exe to further edit OpenFolderSchema.json.lci. This also deletes a .lsproj and .lcg file which were checked in, but I believe should not have been as these are generated from the build.

Notes on how to do this in the future:
1. First, we need to add MicroBuild.Plugins.Localization to the local nuget cache . I was able to do so thusly: `nuget install MicroBuild.Plugins.Localization -Source "https://pkgs.dev.azure.com/devdiv/_packaging/MicroBuildToolset/nuget/v3/index.json" -Prerelease -OutputDirectory test`. After running this, you should be able to remove the `test` directory since the pluggin should now be in your nuget cache.
2. Next I built in `src\MIDebugPackage` using `msbuild /p:LocType=Pseudo /p:LocLanguages=VS /p:LSBuildVersion=V7 /p:LocalizationEnabled=true`. I first build the repo from VS so that any dependencies would be found.
3. I then used `NugetPackages\microsoft.devdiv.localization.toolset\1.1.24090301\current\lcxadmin.exe MIEngine\bin\Debug\localize\ENU\OpenFolderSchema.json.lcg MIEngine\loc\lci\OpenFolderSchema.json.lci` to open the LCI editor, and configured strings.
4. Repeat building
5. Use `"C:\Program Files\Git\usr\bin\diff.exe" d:\dd\MIEngine\bin\Debug\OpenFolderSchema.json d:\dd\MIEngine\bin\Debug\localize\CHS\OpenFolderSchema.json | findstr /v /c:"description"` to see if any non-description lines are being changed between ENU and the localized version.
@gregg-miskelly
Gregg Miskelly (gregg-miskelly) merged commit 7c35656 into microsoft:main Sep 4, 2025
6 checks passed
@gregg-miskelly
Gregg Miskelly (gregg-miskelly) deleted the OpenFolderSchemaLocFixesV2 branch September 4, 2025 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants