NetSparkleUpdater / NetSparkleUpdater/NetSparkle

WinForms CultureInfo

Open
#170 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug localization
Dominant language
C#
Stars
832
Forks
103
PR merge metrics
No merged PRs in 30d

Description

Hi again!
I'm having an issue with Cultures and WinForms.
I have created a WinForms application with "Default" and "es-MX" culture.
Launching with "es-MX" culture by setting it inside Main.
NetSparkle doesn't shows up with the desired culture and as far as I can see in the resources it has been translated to "es-MX".

public static void Main(string[] args)
        {
            var culture = CultureInfo.GetCultureInfo("es-MX");
            CultureInfo.DefaultThreadCurrentCulture = culture;
            CultureInfo.DefaultThreadCurrentUICulture = culture;
            ...

image

Help would be appreciated.
Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the CultureInfo setup in Main and reproduce the WinForms application with the es-MX culture. Trace how NetSparkle loads its localized resources; done means the NetSparkle UI displays the available es-MX translations when the application culture is set before startup.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, localization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.