Jump to content

Recommended Posts

Hello. For some reason that I can't figure out, my localization files aren't working. Here's my files:

 

Stringtable

<?xml version="1.0" encoding="utf-8"?>
<Project name="Arma3Aegis">
	<Package name="A3_Aegis_F">
		<Container name="PhoneticalAlphabet">
			<Key ID="STR_A3_Night515">
				<Original>Night515</Original>
				<English>Night515</English>
				<Czech>Night515</Czech>
				<French>Night515</French>
				<German>Night515</German>
				<Italian>Night515</Italian>
				<Polish>Night515</Polish>
				<Portuguese>Night515</Portuguese>
				<Russian>Night515</Russian>
				<Spanish>Night515</Spanish>
			</Key>
			<Key ID="STR_A3_Kydoimos">
				<Original>Kydoimos</Original>
				<English>Kydoimos</English>
				<Czech>Kydoimos</Czech>
				<French>Kydoimos</French>
				<German>Kydoimos</German>
				<Italian>Kydoimos</Italian>
				<Polish>Kydoimos</Polish>
				<Portuguese>Kydoimos</Portuguese>
				<Russian>Kydoimos</Russian>
				<Spanish>Kydoimos</Spanish>
			</Key>
			<Key ID="STR_A3_CfgVehicles_Flag_Iran_F0">
				<Original>Flag (Iran)</Original>
				<English>Flag (Iran)</English>
				<Czech>Vlajka (Ãrán)</Czech>
				<French>Drapeau (Iran)</French>
				<German>Flagge (Iran)</German>
				<Italian>Bandiera (Iran)</Italian>
				<Polish>Flaga (Iran)</Polish>
				<Portuguese>Bandeira (Irã)</Portuguese>
				<Russian>Флаг (Иран)</Russian>
				<Spanish>Bandera (Irán)</Spanish>
			</Key>
		</Container>
	</Package>
</Project>

Config

	class FlagCarrier;
	
	class Flag_Iran_F: FlagCarrier 
	{
		author = $STR_A3_Night515;
		_generalMacro = "Flag_Iran_F";
		scope = public;
		scopeCurator = public;
		displayName = $STR_A3_CfgVehicles_Flag_Iran_F0;
		hiddenSelectionsTextures[] = {"\A3\Structures_F\Mil\Flags\Data\Mast_mil_CO.paa"};
		hiddenSelectionsMaterials[] = {"\A3\Structures_F\Mil\Flags\Data\Mast_mil.rvmat"};
		
		class EventHandlers
		{
			init = "(_this select 0) setFlagTexture '\A3_Aegis_F\Aegis\data\flags\Flag_iran_CO.paa'";
		};
	};

Help would definitely be appreciated!

 

Thanks,

Night515

Share this post


Link to post
Share on other sites

I'm also having issues with this, very annoying. 

Could it be the case that you can only use this method in the missionConfigFile? 

 

Share this post


Link to post
Share on other sites

In the missionConfigFile I've always had to use "", despite the wiki claiming to the contrary, so my description.ext might look like


author="Jona33";
OnLoadName = "$STR_JNA_MISC_TITLE";
OnLoadMission = "$STR_JNA_MISC_SUBTITLE";
loadScreen = "img\Cover.paa";

 

Not sure if the same might apply when using other config files.

Share this post


Link to post
Share on other sites

I've tried both alternatives with no success, wondering if I maybe should put the stringtable in a different addon and require that addon in the addon that I want to use the stringtable in. This because it feels like the config.bin is read and handled before the rest of the content in the addon. 

In the missionConfigFile I haven't had any problems at all with the stringtable. 

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

×