Jump to content

Translation file problems


francogp

Recommended Posts

I have this in a script:

DisplayName = Camelback (UCP),

and in the translation file:

DisplayName_Camelback_(UCP) = "Sistema de hidratación (UCP)",

the problem is that the translation get ignored... Why? is because of the () ?

 

---------------------------------------------------------------------------------------------------------------------------

 

here's another case:

DisplayName = .32 ACP - 50 Round Box,

translation:

DisplayName_.32_ACP_-_50_Round_Box = ".32 ACP - 50 Cartuchos en Caja",

is ignored because of the sign - ?

 

NOTE: All other variables in my translation files are OK and ACCEPTED, there's only a few that are ignored, like the vars described in this thread.

Link to comment
Share on other sites

 

I bet it's the same with brackets (). Just skip them DisplayName_Camelback_UCP

 

nope, it does not recognize any var now, for example:

 

WITH ( ):

DON'T WORK

DisplayName_Leg_Holster_(Multicam) = "Funda para pierna (MultiCam)",

WORK (Don't understand why)

DisplayName_Tactical_backpack_(Multicam) = "Mochila táctica (MultiCam)",

-------------------------------------------------------------------------

 

WITHOUT ( ):

DON'T WORK

DisplayName_Leg_Holster_Multicam = "Funda para pierna (MultiCam)",DisplayName_Tactical_backpack_Multicam = "Mochila táctica (MultiCam)",

I also tried replacing ( ) with _ without success

 

dash -

 

will make your translations ignored, use underline instead _

 

 

Yes, That was the problem here... I replace them with _ and now they work fine.

 

Thanks!

Edited by francogp
Link to comment
Share on other sites

 

 

dash -

 

will make your translations ignored, use underline instead _

 

 

Yes, That was the problem here... I replace them with _ and now they work fine.

 

Thanks!

 

snip

I read my files again and again, and I discovered a camelcase typo in (Multicam)... it should be (MultiCam) :S

When I replace some words automatically, I may replace them wrong.

 

So, the only REAL problem was the sign - and _

 

sorry

Link to comment
Share on other sites

 

 

snip

I read my files again and again, and I discovered a camelcase typo in (Multicam)... it should be (MultiCam) :S

When I replace some words automatically, I may replace them wrong.

 

So, the only REAL problem was the sign - and _

 

sorry

 

 

Haha, true. I didn't notice that either.

 

Glad I could help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...