Bug #1315
Transifex Rejecting Strings
Status: | Closed | Start date: | 05/17/2013 | |
---|---|---|---|---|
Priority: | Normal | Due 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
fix embedded <xliff:g> tags, transifex is messing them on download
It is replacing the < with < and > with >
fix xliff tags corrupted by Transifex (./fix-xliff-tags)
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
#5 Updated by hans about 3 years ago
Here's a pull request that should help with this:
https://github.com/guardianproject/ChatSecureAndroid/pull/561
But it is not entirely fixed yet in Transifex:
https://github.com/transifex/transifex/issues/236
https://groups.google.com/forum/#!topic/transifex-devel/B8_dRQX0bqM
#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.