Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is concatenating localisation files supported? #281

Open
ilia-r-s opened this issue Dec 13, 2023 · 2 comments
Open

Is concatenating localisation files supported? #281

ilia-r-s opened this issue Dec 13, 2023 · 2 comments

Comments

@ilia-r-s
Copy link

Hello!

Let's imagine, I'd like to create several packs, each of which should add specific lines to localisation.loc.

For instance, I have a pack called sikh_temple, adding a Sikh religious building and localisations specific to that building.

Then I have a pack called shia_islam, adding Shia Islam aside "just" Islam - and all localisations specific to that topic and nothing else.

Then, I'd like RPFM to be able to read both packs and append the localisation strings appearing there to vanilla localisation.loc.

Is that possible with RPFM? Is such a feature planned? Currently, I either concatenate such files with scripts or simply keep one big localisation.loc with everything I need.

@Frodo45127
Copy link
Owner

In RPFM, you can merge tables and locs by selecting them, right-clicking them and clicking on "Merge". You can use that with all your locs + the localisation.loc file to make a loc file with all of them combined.

That's on RPFM's side. An alternative is using Runcher (a launcher for all games from empire to pharaoh). In it, under the launch options, select your language in "enable translations". One of the things that option does is exactly what you're asking for (merging all locs in your load order into the localisation.loc, fixing the "missing text when the game is not in english" bug in the process), though it only does it in games that only load loc entries from that file. And as it's done when launching the game, the user has to use that launcher for it to work.

@ilia-r-s
Copy link
Author

I see. Thanks for the answer! And is concatenation possible using CLI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants