Bug #1315

Transifex Rejecting Strings

Added by ex1st over 4 years ago. Updated about 3 years ago.

Status:ClosedStart date:05/17/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:v14 - Armadillo's Agram
Component:

Description

Transifex is preventing the translation of certain strings. For instance in strings.xml:
<xliff:g id="user">%1$s</xliff:g> is online

The error it throws is: Error: "Namespace prefix xliff on g is not defined, line 1, column 17", though I couldn't find information about it.

Our friends at Ushahidi have some best practices:
https://wiki.ushahidi.com/display/WIKI/Localization+-+dev+best+practices
and details under the hood:
https://wiki.ushahidi.com/display/WIKI/Localizations+-+under+the+hood

Associated revisions

Revision 3fc476c2
Added by Hans-Christoph Steiner about 3 years ago

fix embedded <xliff:g> tags, transifex is messing them on download

It is replacing the < with < and > with >

refs #1315 https://dev.guardianproject.info/issues/1315

Revision a8a39e30
Added by Hans-Christoph Steiner about 3 years ago

fix xliff tags corrupted by Transifex (./fix-xliff-tags)

refs #1315 https://dev.guardianproject.info/issues/1315

History

#1 Updated by ex1st over 4 years ago

Is there any way to fix this? I'm trying to get info back to a contact on Transifex.

#2 Updated by n8fr8 over 4 years ago

  • Target version set to v12 - March Mantra

#3 Updated by n8fr8 over 4 years ago

  • Target version changed from v12 - March Mantra to v13 - October Oooya

#4 Updated by n8fr8 about 4 years ago

  • Target version changed from v13 - October Oooya to v14 - Armadillo's Agram

#6 Updated by hans about 3 years ago

  • Status changed from New to Closed

We have a workable solution for this for now, using the ./fix-xliff-tags script, until Transifex completely fixes their handling of this.

Also available in: Atom PDF