Skip to content

pv-locale-gen: Show a warning if we generated any locales

Simon McVittie requested to merge wip/smcv/locale-gen into main

At the moment, SteamLinuxRuntime users don't get a hint if they are missing required locales at OS level (root cause of https://github.com/ValveSoftware/steam-runtime/issues/541). It seems like it would be better to show a warning, so that at least technical users can see what has happened.

I don't plan to try to wire this up to the Steam GUI, since only technical users will know how to solve this anyway...

  • locale-gen: Produce less repetitive output

    If we have detected a particular locale as missing, we only need to generate it once. This makes the script output a lot less repetitive, and speeds it up by about 30%.

    Fixes: e69ce85e "locale-gen: Add --output-dir option"

  • pv-locale-gen: Don't check additional locales if we already failed

    If we already know that we need to generate at least one locale, then testing more is a waste of time.

  • pv-locale-gen: Give a better hint about where we found locales

  • pv-adverb: Let missing locales show on stderr

    This will give users a hint about how they can speed up container setup.

    Helps: https://github.com/ValveSoftware/steam-runtime/issues/541

Merge request reports

Loading