Translating settings

Post Reply
User avatar
TPH
Member
Posts: 91
Joined: Sun Jul 23, 2023 00:49
IRC: TPH
In-game: TubberPupper-TubberPupperHusker-TPH
Location: Ontario, Canada
Contact:

Translating settings

by TPH » Post

I have a question
I couldn't find it in the Minetest API and don't enjoy the search function much for the forums (difficult for me to find anything that I'm looking for...)

Is there a way to translate custom settings? For example, could I translate the name and description of a setting in a mod I'm making?
Your fellow anthro-therian (copper) husky furry :D (hopefully not too cringe lol). How do ye' do?

User avatar
rubenwardy
Moderator
Posts: 7104
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: London, United Kingdom
Contact:

Re: Translating settings

by rubenwardy » Post

Unfortunately, translations for settings added by mods/games is not possible currently. In anticipation of this being supported, you could add setting titles and descriptions to your .tr files
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Blockhead
Moderator
Posts: 2989
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: Translating settings

by Blockhead » Post

I am either doing something wrong, or translation support was only added for content metadata from *.conf files. I was hoping it was available for entries in settingtypes files.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

User avatar
Sheriff_U3
Member
Posts: 42
Joined: Tue Aug 19, 2025 00:38
GitHub: Sheriff-Unit-3
IRC: Sheriff_U3
In-game: Sheriff_U3
Location: USA

Re: Translating settings

by Sheriff_U3 » Post

You can't translate anything but the title and description in a *.conf file. settingtypes can't be translated at all yet.
Watch out! You never know when I'm around the corner.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest