Author Topic: Better configuration of languages  (Read 13309 times)

ags

  • Junior Member
  • **
  • Posts: 21
    • View Profile
Better configuration of languages
« on: July 29, 2023, 08:19:57 »
I use Multi Commander portable and I like how small it is. To make it even smaller, I delete the files of languages I do not use. Unfortunately, MC treats the language list as a static one, so they still appear in Language combobox in Core Settings.

Proposed implementation: make MC smarter by dynamically inserting at startup values in the combobox of only the files that exist in the Languages directory.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: Better configuration of languages
« Reply #1 on: July 30, 2023, 13:22:08 »
They are not static. They are read from SupportedLanguages.xml

ags

  • Junior Member
  • **
  • Posts: 21
    • View Profile
Re: Better configuration of languages
« Reply #2 on: July 30, 2023, 20:30:15 »
If a list of languages predefined and written in a text file is not a static config, how is it then?
Is there an automated process in MC that reads the files in directory Languages and generates the SupportedLanguages.xml?
« Last Edit: July 30, 2023, 20:34:09 by ags »

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: Better configuration of languages
« Reply #3 on: July 31, 2023, 09:25:03 »
it is generated by the build system.
Removing language files your self and have it automatically update that file is not support.
You have to update that file also your self. But as soon as MC updates, it will overwrite it and you also get the new languages files.
All language files are only 1.6MB