Op Do, 2009-06-04 om 15:15 +0800 skryf Aijin Kim: > Hi, > > I uploaded some xliff files to a Pootle server and have tested them. > > In the online translation page, I can see lots of spaces are displayed, > which are confusing during translation. Please have a look at below > screenshot: > http://sunvirtuallab.com:32305/xliff-test/pootle-xliff.png > > And a sample file here: > http://sunvirtuallab.com:32305/xliff-test/sample.xlf > > Is there any better way of rendering these spaces? > > Thanks in advance, > Aijin
Hallo Aijin In XML files, spacing doesn't usually make a difference, and can be "normalised" like web browsers do with HTML. However, if spacing is important, setting xml:space="preserve" in an XML element can give the indication that spacing should be taken literally. Since spacing makes a difference in translation and localisation, we generate our XLIFF files with xml:space="preserve". But we currently interpret all documents that way, even if xml:space="preserve" is not set, which is the issue that you are seeing here. This is really an issue of the Translate Toolkit, and not Pootle. I already have a possible solution, but I just need to give it a little bit more testing before I can send it to you to try out. Remind me in a few days if I forget :-) Keep well Friedel -- Recently on my blog: http://translate.org.za/blogs/friedel/en/content/localisation-paper ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Translate-pootle mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
