Comments (10)
For the database to .ts converter.
The end result should look like this for german (untested)
<?xml version="1.0" ?>
<!DOCTYPE TS>
<TS version="2.0" language="de" sourcelanguage="en">
<context>
<name>database</name>
<message>
<source>english</source>
<translation>german</translation>
</message>
<message>
<source>english</source>
<translation>german</translation>
</message>
</context>
</TS>
Instead of a database export into another format and subsequent processing to XML (.ts) it might be possible to achieve this file (or a file that needs only a little adjustment) by using postgres xml functions.
from qgep.
The function to list translated elements has been committed.
https://github.com/qgep/QGEP/blob/master/datamodel/translated_elements.sql
from qgep.
COPY (SELECT * FROM qgep.translated_elements()) TO STDOUT WITH CSV;
from qgep.
duplicate #46 ?
from qgep.
Possible approaches (taken from #46):
- Script to translate the project file
- Have support for project file translation in QGIS core
- Instead of saving a project file load the project with a plugin
from qgep.
- Translation of the project file for the demo project
- In the long run, load the project with a plugin and handle translation there
from qgep.
That's how qwat does form translation: https://github.com/qwat/qWat/tree/master/qwat_dictionary
from qgep.
@kfischerar takes care that field names are also translated in the database.
We will then probably generate a .qm translation file from the database.
from qgep.
@andreasneumann wasn't it you that woud ask Stefan a translation table.
I would expect to get these columns
- table name
- field name
- field name in plain english
- field name in plain french
- field name in plain german
- field comment in plain english
- field comment in plain french
- field comment in plain german
Does it make sense?
from qgep.
Database to .ts converter for database term translation.
For further translations, done on transifex https://www.transifex.com/projects/p/QGEP/
from qgep.
Related Issues (20)
- Adapt view vw_qgep_wastewater_structure with wwtp_structure HOT 2
- QGEP 1.6.2, Import DSS in datamodel 1.6.1 HOT 4
- delta_1.6.1_add_ii_to_swmm_outfalls fehlt Endung sql HOT 1
- QGEP 1.62, Export DSS, position is an invalid keyword HOT 2
- QGEP 1.62, Export of selection, wastewater_networkelement missing HOT 3
- QGEP 1.62 Export DSS with selection HOT 9
- QgsSnappingConfig.IndividualLayerSettings constructor is deprecated*
- Obselete reference to 2infra HOT 1
- Issues to adapt for Release 1.6.3 plugin / 1.6.2 datamodel HOT 1
- Error during QGEP datamodel initialization: `FileNotFoundError: [Errno 2] No such file or directory: 'view/drop_views.sql'` HOT 1
- Update of field fk_dataowner / fk_provider is too slow HOT 5
- MAKE INTERLIS EXPORT GREAT AGAIN HOT 3
- Plugin release mechanics is broken
- Zip of latest datamodel 1.6.2 is not available HOT 1
- Error on datamodel tool unicode character
- DSS Export : organisation error when exporting
- Import failure plugin qgep_sys.drop_symbology HOT 1
- INTERLIS import of curve elements does not work properly
- Missing Project File v12.0.0
- Upgrade Button (Datamodel Tool) is disabled HOT 3
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 qgep.