Jump to content
Sign in to follow this  
ragnos

Multi-language mission name

Recommended Posts

Hi, it's possible to do multi-language mission name? I think, best will be example of what I mean. :)

mission.sqm

...
class Intel
{
briefingName="@STR_RAGNOS_MISSION_NAME";
startWeather=0.30000001;
forecastWeather=0.30000001;
year=2012;
month=6;
day=24;
};
...

stringtable.csv

language,english,czech

STR_RAGNOS_MISSION_NAME,"Mission title","Název mise"

Now when I export it to SP mission and go to Scenarios, name of my mission is blank string. And that's my problem. :)

I discovered that when I load mission and then go back to the menu, mission name is now visible. But after I restart the game, texts are gone again. I also tried it with stringtable.xml with same result.

Also, i have same problem in overview.html with

<localized id="STR_RAGNOS_MISSION_DESCRIPTION"/>

But multi-language overview can be done with overview.html and overview.czech.html.

Thanks for advices!

Edited by Ragnos
i've changed overview.xml > stringtable.xml

Share this post


Link to post
Share on other sites

You might wanna try a stringtable in xml format instead of the old csv one. That may work better, besides they're a lot more organized (easier to maintain, read and change).

Share this post


Link to post
Share on other sites

Still having same problem. My stringtable.xml:

<?xml version="1.0" encoding="utf-8"?>
<Project name="ARMA2">
<Package name="RAGNOS">
<Container name="MISSION">
<Key ID="STR_RAGNOS_MISSION_NAME">
<English>Mission title</English>
<Czech>Název mise</Czech>
</Key>
</Container>
</Package>
</Project> 

Share this post


Link to post
Share on other sites
when I load mission and then go back to the menu, mission name is visible. But after I restart the game, texts are gone again.

The display name you see before you select the mission can be defined in the briefing html file, as far as I remember. Not the ARMA2-briefing, mind you, but the HTML document that resides in your missions root folder. Add your string there and see if it helps.

Share this post


Link to post
Share on other sites
The display name you see before you select the mission can be defined in the briefing html file, as far as I remember. Not the ARMA2-briefing, mind you, but the HTML document that resides in your missions root folder. Add your string there and see if it helps.

Thank for reply, but I don't think it's true. Where that string should be? Here?

<html>
<head>
<title>[b]here?[/b]</title>
</head>
<body>
...

I tried it and it's not working. I tried "STR_RAGNOS_MISSION_NAME","@STR_RAGNOS_MISSION_NAME" and "$STR_RAGNOS_MISSION_NAME".

Share this post


Link to post
Share on other sites
Thank for reply, but I don't think it's true.

It was merely a guess on my behalf. Can you add a string to the name section found under intel in the editor instead? That serves the same purpose as the HTML-document.

Share this post


Link to post
Share on other sites
It was merely a guess on my behalf. Can you add a string to the name section found under intel in the editor instead? That serves the same purpose as the HTML-document.

Yes, that's what I'm doing. Look at my first post. I can name my mission successfully, but I want multi-language possibility (link to overview). I'm starting to think it's not possible. All original mission form BIS have link in intel section, but they use link to some "global" stringtable which loads on start of the game probably.

Share this post


Link to post
Share on other sites

I have exactly the same problem. Mission name and description is blank when I'm creating LAN server. When I create it and then click back, mission description is shown, but mission name is still blank.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×