Localisation Error

Localisation Error

in API Development

Posted by: Talis.7261

Talis.7261

When retrieving the german world names, there is a <br> tag in “Meer des Leids”. This makes it pretty ugly when displaying it on a HTML page.

https://api.guildwars2.com/v1/world_names.json?lang=de

Localisation Error

in API Development

Posted by: Think.8042

Think.8042

This is a general problem. The same thing happens on the new leaderboards and the ingame world selection window. I think it’s been reported for a looong time but I can’t find the thread right now…

Localisation Error

in API Development

Posted by: smiley.1438

smiley.1438

Localisation Error

in API Development

Posted by: Think.8042

Think.8042

Sure. But what about trying to get the source fixed instead of using ugly workarounds (which we can’t use for the leaderboards for example)?

Localisation Error

in API Development

Posted by: smiley.1438

smiley.1438

Then, on the other hand, would be a lot more to fix… ;D
In case you run the data through a script (which is the case in 99.9% i guess) then it’s not too hard to strip tags while you’re at it.

Localisation Error

in API Development

Posted by: Cliff Spradlin.3512

Cliff Spradlin.3512

Lead Programmer

Next

Hi,

Think is right. This is a problem with the source text.

I talked to the localization team, and they’ve agreed to remove the <br> from the German text.

Thanks a lot for the bug report!

Localisation Error

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

This should be fixed now.

Localisation Error

in API Development

Posted by: smiley.1438

smiley.1438

Yep, looks fine now.

btw. have you looked into that double space thing yet? I belive that most french and spanish items (~6200 each) with runes on them are affected.

example: https://api.guildwars2.com/v1/item_details.json?item_id=30189&lang=es

pattern: name [double space] suffix

(edited by smiley.1438)