Jump to content
Sign in to follow this  
hcpookie

Stringtable.xml format question/problem

Recommended Posts

Question about the format of stringtable.xml. I am receiving this error in the RPT:

Unsupported language English in stringtable

This is the top of my stringtable.xml:

<Project name="POOK_GL">
<Package name="POOK_GL">
<Container name="STR_DISP">
	<Key ID="STR_NAME_pook_GL_RG6">
		<Original>RG-6</Original> 
		<German>RG6</German> 
		<English>RG-6</English> 
		<Italian>RG6</Italian> 
		<Spanish>RG6</Spanish> 
		<French>RG6</French> 
		<Czech>RG6</Czech> 
		<Russian>РГ-6</Russian> 
		<Polish>RG6</Polish> 
		<Hungarian>RG6</Hungarian>
	</Key>
(snip)

So I've tried removing the <English> line and I've tried removing the <Original> line. I assume I'm missing a line of code...?

Share this post


Link to post
Share on other sites

FIXED! Apparently the XML file I imported had trailing spaces which the XML didn't like. Removed all spaces and no more errors! Final result:

<?xml version="1.0" encoding="utf-8"?>
<Project name="POOK_GL">
<Package name="POOK_GL">
<Container name="STR_DISP">
	<Key ID="STR_NAME_pook_GL_RG6">
		<English>RG-6</English>
		<German>RG6</German>
		<Italian>RG6</Italian>
		<Spanish>RG6</Spanish>
		<French>RG6</French>
		<Czech>RG6</Czech>
		<Russian>РГ-6</Russian>
		<Polish>RG6</Polish>
		<Hungarian>RG6</Hungarian>
	</Key>
(snip)...

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  

×