keeperfx icon indicating copy to clipboard operation
keeperfx copied to clipboard

Individually translatable map names

Open AdamPlenty opened this issue 10 months ago • 5 comments

Note that the map-specific strings in their own dat files cannot be used for this purpose, as they're loaded with the level, not before, resulting in this:

image

Map names therefore come from the campaign/map pack strings. This means that map names can only be translated as part of the campaign/pack, not as an individual level.

AdamPlenty avatar Apr 24 '24 16:04 AdamPlenty

yes, because it has not loaded all the maps

Loobinex avatar Apr 24 '24 21:04 Loobinex

yes, because it has not loaded all the maps

It's because the map strings are loaded with the level, not before.

AdamPlenty avatar Apr 24 '24 22:04 AdamPlenty

would the .lof file be a good spot? instead of having NAME_ID have NAME_ENG NAME_FRE NAME_GER etc, or should we load the string file anyways

PieterVdc avatar Jun 18 '24 18:06 PieterVdc

would the .lof file be a good spot? instead of having NAME_ID have NAME_ENG NAME_FRE NAME_GER etc, or should we load the string file anyways

I think so yes, but we would want something we could also later use the same way for say, creature names or trap names or whatever.

How is something like this? barbarian.zip map01228.zip

Loobinex avatar Jun 18 '24 19:06 Loobinex

would the .lof file be a good spot? instead of having NAME_ID have NAME_ENG NAME_FRE NAME_GER etc, or should we load the string file anyways

That would require UTF-8, I'm afraid.

AdamPlenty avatar Jun 18 '24 20:06 AdamPlenty