Giter Site home page Giter Site logo

How to change Language? about mcwin32 HOT 7 CLOSED

mikekgr avatar mikekgr commented on June 6, 2024
How to change Language?

from mcwin32.

Comments (7)

adamyg avatar adamyg commented on June 6, 2024 2

the locale selection, build 266+ search logic follows the steps below:

  • LC_ALL environment variable.
  • LC_MESSAGES environment variable.
  • LANG environment variable.
  • LANGUAGE environment variable.
  • and by default, results of GetThreadLocale(); which should be the user's default locale.

Setting any of above before starting mc should impact the locale; note the first encountered is utilized,

from mcwin32.

adamyg avatar adamyg commented on June 6, 2024

Please confirm version information, build 226 is the latest

from mcwin32.

norbux avatar norbux commented on June 6, 2024

I solved this by removing all the locales except english. In my instalation those locales are in C:\Program Files (x86)\Midnight Commander\locale. So I just backed up the original folder and left the original only with en_GB. But, yeah, it would be cool to have a way to select the locale from the configuration.

from mcwin32.

mikekgr avatar mikekgr commented on June 6, 2024

Thanks, probably I will follow your trick!

from mcwin32.

norbux avatar norbux commented on June 6, 2024

the locale selection, build 266+ follows the logic in order:

  • LC_ALL environment variable.
  • LC_MESSAGES environment variable.
  • LANG environment variable.
  • LANGUAGE environment variable.
  • and by default, results of GetThreadLocale(); which should be the user's default locale.

Setting any of above before starting mc should impact the locale; note the first encountered is utilized,

Great, thanks @adamyg

from mcwin32.

adamyg avatar adamyg commented on June 6, 2024

resolved

from mcwin32.

mikekgr avatar mikekgr commented on June 6, 2024

Many thanks dear developer!

from mcwin32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.