How to compile lang files?

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
User avatar
yazalo [PL]
Engineer
Engineer
Posts: 17
Joined: 13 Mar 2020 17:57
Location: Poland

How to compile lang files?

Post by yazalo [PL] »

I need to compile a lang file on my PC. The only tutorial I found is this one: https://github.com/OpenTTD/OpenTTD/blob ... g_files.md by andythenorth, but this guide is already 11 years old, so I don't know if nothing has changed since then.
Even if the information is up to date, the link to download 'strgen' does not work.
Can someone give me a currently working method / link?
:?:
yazalo
OpenTTD Polska | OpenTTD Wiki (PL)
Polish OpenTTD Translator

:!: Unused account, please contact yazalo (not yazalo [PL]) (send private message)
User avatar
spajdy
Traffic Manager
Traffic Manager
Posts: 144
Joined: 28 Jan 2018 12:59

Re: How to compile lang files?

Post by spajdy »

What do you mean exactly?
With best regards,
Špajdy.


My released NewGRFs:
ImageImageImage

You can find what I am planning next, or doing right now right in my developer diary.
Slovakia | lang : slovak | english

SLOVAK DISCORD SERVER I (and others Slovak and Czech creators) write there in Slovak about what I (ot they are) am planning. This invitation is valid for 100 users.
It is alive and well. :)
User avatar
yazalo [PL]
Engineer
Engineer
Posts: 17
Joined: 13 Mar 2020 17:57
Location: Poland

Re: How to compile lang files?

Post by yazalo [PL] »

I have a polish.txt file, and I want to get a polish.lng file
yazalo
OpenTTD Polska | OpenTTD Wiki (PL)
Polish OpenTTD Translator

:!: Unused account, please contact yazalo (not yazalo [PL]) (send private message)
isaacrdc
Engineer
Engineer
Posts: 37
Joined: 22 Jul 2019 14:07

Re: How to compile lang files?

Post by isaacrdc »

If you're trying to update translation of OpenTTD, you can request access to become a translator via GitHub (you need an account for this), just click here here, this is the most convenient way. Click get started and post the issue. And don't forget to look https://translator.openttd.org/ first.
Fromerly known as Alon
User avatar
yazalo [PL]
Engineer
Engineer
Posts: 17
Joined: 13 Mar 2020 17:57
Location: Poland

Re: How to compile lang files?

Post by yazalo [PL] »

I am already a translator, I would like to try the translation on my computer without entering it into the official game version.
yazalo
OpenTTD Polska | OpenTTD Wiki (PL)
Polish OpenTTD Translator

:!: Unused account, please contact yazalo (not yazalo [PL]) (send private message)
Eddi
Tycoon
Tycoon
Posts: 8267
Joined: 17 Jan 2007 00:14

Re: How to compile lang files?

Post by Eddi »

strgen is not available as a separate download anymore, but you can still use it if you compile the game from source code.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 10 guests