francogp Posted February 15, 2016 Share Posted February 15, 2016 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 More sharing options...
Geras Posted February 15, 2016 Share Posted February 15, 2016 snip dash - will make your translations ignored, use underline instead _ I bet it's the same with brackets (). Just skip them DisplayName_Camelback_UCP Link to comment Share on other sites More sharing options...
francogp Posted February 15, 2016 Author Share Posted February 15, 2016 snip dash -will make your translations ignored, use underline instead _I bet it's the same with brackets (). Just skip them DisplayName_Camelback_UCPJust skip the dash to? Or replace thm with _? Link to comment Share on other sites More sharing options...
Geras Posted February 15, 2016 Share Posted February 15, 2016 Replace it with a _Should work just fine. francogp 1 Link to comment Share on other sites More sharing options...
francogp Posted February 15, 2016 Author Share Posted February 15, 2016 (edited) 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 WORKDisplayName_Leg_Holster_(Multicam) = "Funda para pierna (MultiCam)",WORK (Don't understand why)DisplayName_Tactical_backpack_(Multicam) = "Mochila táctica (MultiCam)",------------------------------------------------------------------------- WITHOUT ( ):DON'T WORKDisplayName_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 February 16, 2016 by francogp Link to comment Share on other sites More sharing options...
Geras Posted February 16, 2016 Share Posted February 16, 2016 snip Ok, I took a look into the official translation files and brackets should work fine, here's an example: DisplayName_Bottle_with_Remoulade_(Empty) = "Flasche mit Remoulade (leer)", I don't understand why it does not want to work for you. francogp 1 Link to comment Share on other sites More sharing options...
francogp Posted February 16, 2016 Author Share Posted February 16, 2016 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! snipI 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 More sharing options...
Geras Posted February 16, 2016 Share Posted February 16, 2016 snipI 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now