News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Allow selection of languages installed

Started by NanoSector, December 21, 2012, 03:36:22 PM

Previous topic - Next topic

NanoSector

Allow users to select what languages to install when installing a mod, right now the package manager extracts all language files even if the user doesn't have that language installed.

Maybe something with a <language> tag in the package_info.xml will work, like
<language name="en-US" file="languages/MyMod.english.php" />
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

MrPhil

The downside to that would be that if later you decide to support another language on your site, you would have to go back to the mod and also grab its language support pack. At least with the current system, all that mod's languages will be present if you support another language.

Matthew K.

MrPhil is right, that's the main reason I can think of that we wouldn't do this. It's a really nice thought. But they don't take up that much space anyway.

Arantor

Yeah, this is a neat idea but the problems would outweigh the gains for it, ultimately.

But it's been worth the effort to think about, so it's all good :)
Holder of controversial views, all of which my own.


Advertisement: