Expose info.json/title as localized mod-name.

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Expose info.json/title as localized mod-name.

Post by eradicator »

This is another one of these things that are really neither an interface request nor a bug, so i'm chosing the less severe option.

What?

Currently accessing the localized name of a mod is only possible if the mod author went through the trouble of defining it in locale.cfg.

Code: Select all

[mod-name]
eradicators-sudo=Eradicator's /sudo
notlocalized.png
notlocalized.png (176.23 KiB) Viewed 624 times

So what?

Info.json already contains the localized English name, so it would be nice if that could be made available in case the mod author forgot to add a locale.cfg entry.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

User avatar
kirazy
Filter Inserter
Filter Inserter
Posts: 416
Joined: Tue Mar 06, 2018 12:18 am
Contact:

Re: Expose info.json/title as localized mod-name.

Post by kirazy »

I would like to second this request.

Post Reply

Return to “Modding interface requests”