Comments (4)
Also there are quote a few of these:
“Headers & Footers”
And other enties with "
It would be great if these were converted to the correct character for the
translators so that they don’t have to learn what all these names character
variables mean. During the reverse process it would simply be a matter of
converting the character back into the named variable as needed.
from translate.
I’ve marked this as a 129 blocker. It isn’t really but the value of deciding
which html escapes should e covnerted to normal Unicode is great.
How do we determine what escapes should be escaped? Need to check occurances in
.proeprties and .dtd files to check.
from translate.
For now we're focusing only on DTD escapes see http://www.iro.umontreal.ca/~lapalme/ForestInsteadOfTheTrees/HTML/ch03s01.html
i.e
<
&
"
'
>
I think that is all
from translate.
Partially fixed in commits between 126590d and 9c5ba92 Several of the commits in this range include fixes for other tests, or other code affected by the changes in DTD store introduced to fix this bug.
Done:
- Converting %, % and % to % character, and converting back to % always.
- Converting " to " character, and converting back (except when =" is present in string in order to avoid escaping things like HTML attributes, for example href one in HTML anchor tag).
Partially done:
- Converting ' to ' character, and converting back, is not done in all cases. Just made minor adjustments in code but keeping the previous behavior. The previous behavior was kept because it is necessary for not breaking special behavior needed for roundtrip conversion in Mozilla DTD files. See bug http://bugs.locamotion.org/show_bug.cgi?id=2740
Not done:
- Converting & to & character, and converting back, since this has implications on accesskeys roundtrip conversion. See bug http://bugs.locamotion.org/show_bug.cgi?id=2742
- Converting < to < character, and converting back, since this introduces a lot of unwanted changes. See bug http://bugs.locamotion.org/show_bug.cgi?id=2741
- Converting > to > character, and converting back, since this introduces a lot of unwanted changes. See bug http://bugs.locamotion.org/show_bug.cgi?id=2741
from translate.
Related Issues (20)
- Ben
- Android: Some strings marked as `translatable="false"` still treated as translatable HOT 2
- Code block not parsed from Markdown HOT 3
- Proposal to use mdit-py-i18n (along with markdown-it-py) for Markdown support HOT 7
- Reduce question mark escaping in Android
- tests/translate/convert/test_rc2po.py failures with Python 3.12 HOT 7
- Translate
- Use Windows newlines for resx files
- Do not include "Explanation" field in iOS strings files HOT 2
- Add support for Mobile Kotlin resources HOT 3
- Locations for Markdown HOT 1
- Add support for Apple String Catalogs HOT 3
- Weird handling of C1 control characters in .properties files HOT 3
- Translate org app requests HOT 3
- Removing items during iteration can result in bugs HOT 1
- Inconsistent indentation / no indentation preservation HOT 2
- po2prop ignore personality argument when processing strings file. HOT 1
- More consistent line breaks in generated po files HOT 8
- po2csv | How to convert multiple files
- Support for metainfo files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from translate.