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

Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2021196 #43956

Merged
merged 14 commits into from
Oct 14, 2022

Conversation

dotnet-bot
Copy link
Contributor

This is the pull request automatically created by the OneLocBuild task in the build process to check-in localized files generated based upon translation source files (.lcl files) handed-back from the downstream localization pipeline. If there are issues in translations, visit https://aka.ms/ceLocBug and log bugs for fixes. The OneLocBuild wiki is https://aka.ms/onelocbuild and the localization process in general is documented at https://aka.ms/AllAboutLoc.

@ghost ghost added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Sep 13, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1991692 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1993142 Sep 14, 2022
@brunolins16
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1993142 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1994592 Sep 15, 2022
@brunolins16
Copy link
Member

I have followed the steps, reported here #43599 (comment), and based on that we still not done yet:

OneLocBuildClient.exe Information: 0 : In summary, 99% localized for 27 resource files.

https://dev.azure.com/dnceng/internal/_build/results?buildId=1994592&view=logs&j=c0636702-cad1-5e4d-7b5b-f15c1cce530a&t=ef3c2779-04f6-5216-b20f-460f31132ece&l=983

@dougbu Is my assumption correct?

@dougbu
Copy link
Member

dougbu commented Sep 15, 2022

Is my assumption correct?

Yes. Bit more work to do here unfortunately.

I also checked the ToLocalizeResources.csv file produced in this morning's aspnetcore-localize build. That shows only a few of the remaining 128 strings are hardcoded values like [BundleNameSub] that should be excluded from localization.

@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1994592 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1995899 Sep 16, 2022
@@ -27,38 +27,38 @@
<String Id="OptionsLocationLabel">Percorso di installazione:</String>
<String Id="OptionsBrowseButton">&amp;Sfoglia</String>
<String Id="OptionsOkButton">&amp;OK</String>
<String Id="OptionsCancelButton">&amp;Annulla</String>
<String Id="OptionsCancelButton">Ann&amp;ulla</String>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wtgodbe and @joeloff am I correct that an ampersand in a .wxl file identifies the next character as an accelerator key❔ If yes, is this changed translation an improvement❔

@cristianosuzuki77 what are the heuristics the translators use to decide where to place the accelerator key❔

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't actually know, I haven't worked on generating one of these before

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found a few mentions of accelerator / accessibility keys in WiX and it seems the toolkit follows the conventions of other Windows installers. An ampersand identifies the key.

The bundle already has mid-word accelerators in a few strings e.g. https://github.com/dotnet/aspnetcore/pull/43956/files#diff-ff840b97875d2e933bba46b993fed4078e0fb5b6abd097e87d7b8a4b10b0e517R22 (though none in the English strings that I noticed).

So, is changing the accelerator key from A to u a good idea❔ It's consistent across Cancel buttons in this language and a few other accelerator keys are changing e.g. https://github.com/dotnet/aspnetcore/pull/43956/files#diff-4d0161edbccd7dd3b1576f2c6530fb898b0dc60e46169d1082700cc89e04b81dR36 and https://github.com/dotnet/aspnetcore/pull/43956/files#diff-5be1b04c80c351d6cb288862f266fbc0e6e82eeed53d0094a9979c48d7935072R54. I am just not sure why and hope to hear from @cristianosuzuki77.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been resolved. Leaving it open only to provide fodder for a release note. /cc @ldillonel

@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1995899 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1996737 Sep 17, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1996737 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1997181 Sep 18, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1997181 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1997961 Sep 19, 2022
@Tratcher
Copy link
Member

Is this ready?

@dougbu
Copy link
Member

dougbu commented Sep 20, 2022

No, this isn't ready. That's because the OneLocBuild task shows the translation work is incomplete (see below) and some wording is changing. @mkArtakMSFT has volunteered to check the Russian but we haven't got people looking at the rest.

We also need to have a conversation between the leads about whether to request the loc team to leave the accelerator / accessibility / hot keys alone. See above and https://ceapex.visualstudio.com/CEINTL/_workitems/edit/709046 for details.


OneLocBuildClient.exe Information: 0 : [src\Installers\Windows\SharedFrameworkBundle\thm.wxl] 95% localized for 13 languages.
OneLocBuildClient.exe Information: 0 : [src\Installers\Windows\WindowsHostingBundle\Strings.wxl] 94% localized for 13 languages.
OneLocBuildClient.exe Information: 0 : [src\Installers\Windows\WindowsHostingBundle\thm.wxl] 98% localized for 13 languages.

(These numbers won't reach 100% w/o some exclusions for e.g. [BundleNameSub] but https://dev.azure.com/dnceng/_apis/resources/Containers/11824184/Loc?itemPath=Loc%2FToLocalizeResources.csv shows real work remains. I'm working on an exclusions PR.)

@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1997961 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1999118 Sep 20, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1999118 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2000252 Sep 21, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2000252 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2001161 Sep 22, 2022
@dotnet-bot dotnet-bot requested a review from a team as a code owner September 22, 2022 18:20
@dougbu
Copy link
Member

dougbu commented Sep 22, 2022

I still see a few "translations" that are reverting to English in the WXL files. We're not quite ready to merge this or propose the fixes for 7.0.0.

@mkArtakMSFT how do the Russian updates look to you so far❔

@sebastienros if you have time, could you scan the French changes and let us know if the new translations aren't regressions (even better if they're better 😄)❔

@dotnet/aspnet-admins, @danmoseley do we have others on the team w/ fluency who could scan another language❔ @cristianosuzuki77 already looked at the Italian and pronounced it good.

src/Installers/Windows/SharedFrameworkBundle/2052/thm.wxl Outdated Show resolved Hide resolved
src/Installers/Windows/SharedFrameworkBundle/2052/thm.wxl Outdated Show resolved Hide resolved
src/Installers/Windows/SharedFrameworkBundle/2052/thm.wxl Outdated Show resolved Hide resolved
src/Installers/Windows/WindowsHostingBundle/2052/thm.wxl Outdated Show resolved Hide resolved
src/Installers/Windows/WindowsHostingBundle/2052/thm.wxl Outdated Show resolved Hide resolved
@@ -27,38 +27,38 @@
<String Id="OptionsLocationLabel">Percorso di installazione:</String>
<String Id="OptionsBrowseButton">&amp;Sfoglia</String>
<String Id="OptionsOkButton">&amp;OK</String>
<String Id="OptionsCancelButton">&amp;Annulla</String>
<String Id="OptionsCancelButton">Ann&amp;ulla</String>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been resolved. Leaving it open only to provide fodder for a release note. /cc @ldillonel

@dougbu
Copy link
Member

dougbu commented Sep 23, 2022

Opened [C&AI Translation Feedback] - LCL-JUNO-PROD-ASPNETCORE, some Chinese translations contain extra spaces covering the typos I commented on.

Will likely have to file another loc issue because ToLocalizeResources.csv hasn't changed in at least a week and shows simple strings like "Installation Successfully Completed". Any known issues blocking the work @jonfortescue @cristianosuzuki77

On the upside, files now contain fixes for problems from earlier loc PRs:

@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2009614 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2010258 Oct 3, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2010258 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2011272 Oct 4, 2022
@dougbu
Copy link
Member

dougbu commented Oct 4, 2022

Do not merge (yet)

Blocked on completion of ticket 717656 [C&AI Translation Feedback] - LCL-JUNO-PROD-ASPNETCORE, under-translation of "directory" though ToLocResources.csv indicates all strings are completely translated.

@dougbu dougbu added the blocked The work on this issue is blocked due to some dependency label Oct 4, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2011272 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2012502 Oct 5, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2012502 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2013560 Oct 6, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2013560 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2014655 Oct 7, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2014655 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2015282 Oct 8, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2015282 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2015641 Oct 9, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2015641 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2016328 Oct 10, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2016328 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2017446 Oct 11, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2017446 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2018734 Oct 12, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2018734 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2019976 Oct 13, 2022
@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2019976 Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2021196 Oct 14, 2022
@dougbu
Copy link
Member

dougbu commented Oct 14, 2022

I think we're sufficiently unblocked to take this. While three loc issues remain open and the hot keys are changing in problematic ways, we can touch things up e.g. undoing all hot key changes when backporting to release/7.0.

I reactivated ticket 717656 [C&AI Translation Feedback] - LCL-JUNO-PROD-ASPNETCORE, under-translation of "directory" because "directory" is still not translated in src/Installers/Windows/SharedFrameworkBundle/1031/thm.wxl. We have the correct translation in src/Installers/Windows/WindowsHostingBundle/1031/thm.wxl or the old version of src/Installers/Windows/SharedFrameworkBundle/1031/thm.wxl to make that touch-up easy.

@dougbu dougbu removed the blocked The work on this issue is blocked due to some dependency label Oct 14, 2022
@dougbu dougbu merged commit 1b19eaf into main Oct 14, 2022
@dougbu dougbu deleted the locfiles/c98ea8c8-fc07-4162-bd2e-4e986eeba475 branch October 14, 2022 19:53
@ghost ghost added this to the 8.0-preview1 milestone Oct 14, 2022
dougbu pushed a commit to dougbu/aspnetcore that referenced this pull request Oct 16, 2022
…nition ID 1159: Build ID 2021196

- backport dotnet#43956 aka 1b19eaf

* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1991692
* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1994592
* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 1995899
* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2001161
* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2001161
* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2004653
* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2006380
* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2008465
* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2009172
* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2010258
* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2011272
* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2012502
* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2018734
* Localized file check-in by OneLocBuild Task: Build definition ID 1159: Build ID 2019976

- Fixes [loc ticket 710128 [C&AI Translation Feedback] - ASP.NET Core incomplete German translation](https://ceapex.visualstudio.com/CEINTL/_queries/edit/710128/)
- Fixes dotnet#44167
- Automates translation of WXL files
dougbu added a commit that referenced this pull request Oct 17, 2022
- backport #43956 aka 1b19eaf
  - Fixes [loc ticket 710128 [C&AI Translation Feedback] - ASP.NET Core incomplete German translation](https://ceapex.visualstudio.com/CEINTL/_queries/edit/710128/)
  - Fixes #44167
  - Automates translation of WXL files in main (not directly in release/7.0)
- fixup translations
  - restore German "directory" translation
  - undo hot key changes
    - leave only Portuguese s/&amp;Navegar/&amp;Procurar/ change for `OptionsBrowseButton`
    - apparently, that's something like s/to browse/to search for/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants