-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
zh-CN and zh-TW .NET resources are not generated in windows-latest
(windows-2022
)
#5189
Comments
Additional info: I don't want to analyze all the builds as that has little value, but the for record,
You can find its release here (V5.2.3.3). The first problematic build (observed) was produced 11 days ago, where
You can find its release here (V5.2.3.4). This confirms that |
@JustArchi Hi, thanks for the report! We will take a look. |
@mikhailkoliada thanks for triage, you can consider adding .NET Core label as well, as this issue seems to affect both - .NET Framework and .NET Core, my ASF project builds a binary for both and it seems they're both suffering from the same issue - I've verified that checking |
i confirm i am looking for a reason and solving the problem |
@JustArchi According to https://cldr.unicode.org/index/cldr-spec/language-tag-equivalences , namely the wording "This means that zh ~ zh-CN ~ zh-Hans ~ zh-Hans-CN, and that zh-Hant ~ zh-TW ~ zh-Hant-TW." at the very bottom zh-CN and zh-TW replaced with their equivalents zh-Hans-CN and zh-Hant-TW Can you use the OS provided locales? |
@dsame thank you for evaluation. Yes, I probably could rename my locales to those two. Give me a moment to give it a try and I'll come back to you with results. |
@dsame After short testing it seems that It's probably a good idea to document it somewhere on GitHub as some kind of "breaking change" in regards to target cultures on .NET. Since I did further digging and found out both Thanks again, I'll close this issue but feel free to re-open it if you believe such note is warranted and want to remind yourself about it 😎. |
@JustArchi thank you for cooperation! |
* Attempt at resolving actions/runner-images#5189 * Clean up dockerfiles from no longer required workarounds
Description
One of the users of my ASF software has reported that the program is missing zh-CN (Chinese simplified) translations. After short investigation I came to conclusion that this had to be GitHub runner environment change, as I couldn't narrow it to any other component. A quick commit for testing has confirmed my suspicion, as downgrading the image from
windows-latest
towindows-2019
fixes the issue and there arezh-CN
resources generated again.Virtual environments affected
Image version and build link
Build on
windows-latest
which doesn't include correct translations: https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/1945418953Build on
windows-2019
which does: https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/1946785489Both happened the same day, 5 hours apart, so I'm pretty sure nothing else affected the outcome.
For verification, download
windows-latest_ASF-generic
andwindows-2019_ASF-generic
artifacts. In the downloaded zip file navigate tozh-CN
folder, there should beArchiSteamFarm.resources.dll
file available, which doesn't exist inwindows-latest
run.Is it regression?
Yes,
windows-2019
works fine - https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/1946785489Expected behavior
If there are
zh-CN
resources, they should be embedded in the resulting build output. This is what happens with all other languages, such aspl-PL
among others.Actual behavior
zh-CN
andzh-TW
resources are missing, only those two seem affected, as other translations are working just fine. I suspect some missing cultures installed or something like that, there is for sure some difference in2022
version compared to2019
in this regard. Sadly I'm unable to assist further as I don't know what exactly is missing, in fact I'm surprised something is.Repro steps
You can run my public publish.yml workflow,
publish
job is enough, simply replacewindows-XXX
in OS matrix to the one you want to test. You can analyze the outputwindows-XXX_ASF-generic
build artifact, whereXXX
is the windows version that was used for build.Alternatively, you can also build the program source manually:
Thank you in advance for considering this issue, let me know if I can aid you further in any way. The project and all resources are public, so reproducing it shouldn't be an issue.
For now I've decided to downgrade the used version as part of JustArchiNET/ArchiSteamFarm#2533 - not ideal, but fixes the problem.
The text was updated successfully, but these errors were encountered: