Comments (5)
Committed a test for the first part of the problem:
dtd2po
<!ENTITY noupdatesfound.intro “A hard coded newline.\n”>
Is converted to:
#: noupdatesfound.intro
msgid “A hard coded newline.\n”
msgstr ""
When it should be
#: noupdatesfound.intro
msgid “A hard coded newline.\n”
msgstr ""
Ie not escaped newline at the end
from translate.
Argh `BZ-IMPORT::comment #4` is for bug #84
from translate.
For complete Mozillage we should be able to extract localisable files directly
from Mozilla CVS so this is a blocker for full Mozilla support
from translate.
The hardest part is to extract from Mozilla CVS to Mozilla l10n structure. Once
the POT files are in l10n/ structure they need not change.
We should have an options that defines which part of Mozilla you wish to extract:
firefox,thunderbird,common,etc which allows us to select multiple targets.
—mozillacvs=firefox,common
Within moz2po we need the ability to specify which files go where:
ie $mozilla/browser/locale=$l10n/browser
I don’t think we need to do it on the file level.
from translate.
Mozilla has added some functionality which makes this need obsolete. This has
been documented in:
http://translate.sourceforge.net/wiki/toolkit/moz2po
We now make use of Mozilla own Makefile target create-en-US to create a
correctly structured source translation directory.
from translate.
Related Issues (20)
- prop2po: personality given in command line is ignored for .strings files HOT 2
- Locate tests and test data outside 'translate' module HOT 2
- 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
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.