Can I ask what you are trying to do? Well, getting strgen working, I get that, but what do you want to do with your own language pack? Strgen is a bit of an unusual request to us, and I don't see anyone else asking what your goal is
Mainly the reason I ask, is because creating your own "lng" file is complicated; but also more often than not, not even needed.
For OpenTTD, we have our own translation tool (
https://translator.openttd.org), that helps people translate the game. There they do not have to worry how it will look ingame, as that is our job, to make sure everything render fine for every language. This removes a lot of hurdles for the many translators we have. In fact, we no longer accept translations in any other form, as history has shown other methods are just a bad idea
If you really do want to create your own "lng" files, there are a few things you have to take care of yourself. To generate any successful "lng" file, you need the following:
- Know the exact OpenTTD version you want to create the "lng" file for. It is not possible to use it on any other version. So 1.10.3 files will not work on 1.11.0, etc.
- Get a strgen.exe that is compatible with that version. Give we haven't changed it in years, this isn't that difficult; I will wrap back to this in a bit.
- Get the exact "english.txt" file used for the OpenTTD version you are creating the "lng" file for. This can be found on our GitHub; it is not distributed with the binary. So if you want a "lng" for 1.10.3, you need that exact english.txt as it was used to build 1.10.3. In this example,
https://github.com/OpenTTD/OpenTTD/blob ... nglish.txt
If you have all these 3 pieces together, you can create your own "lng" file. Did I mention already it is complicated?

This is why we automated the process for all our languages and created the translator tool.
So how to get a strgen.exe? Well, easiest is to build this yourself; but I can understand that is not for everyone. We can supply one, and I can help you with that, if after all this you are still like: yeah, I have a good use-case to do it this way. It is all the same to me, but it takes me a bit of time to create it, so I rather not if it is not needed
We stopped distributing strgen as a binary a few years ago, as the complicated flow to do this yourself is often overwhelming (resulting in a lot of questions), and also often unneeded (as mentioned earlier). So after someone battles strgen to build a working "lng" file, they found out that is not the way to translate, and all the effort was in vein
So possibly this is still not helping you, and I do apologize if that is the case; but if you can enlighten me a bit on what you are up to, I am sure I can help you out getting it done!
The only thing necessary for the triumph of evil is for good men to do nothing.