Created
December 10, 2015 02:14
-
-
Save alexandre-mbm/77f87fd5ff7063c2be00 to your computer and use it in GitHub Desktop.
Trying to test translation of JOSM's preset
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # cp josm/data/pt_BR.lang ./pt_BR.lang-backup # TODO: backup | |
| JOSM_ARGS=-Xmx800M | |
| JOSM_CLASS=org.openstreetmap.josm.gui.MainApplication | |
| JOSM_DIR=josm | |
| JOSM_JAR=/usr/share/java/josm/josm.jar | |
| unzip $JOSM_JAR -d $JOSM_DIR | |
| #msgfmt -o pt_BR.lang de.po | |
| PO=/run/media/alexandre/HOME/Git/wheelchair-preset/i8n/preset_de.po | |
| msgfmt -o $JOSM_DIR/data/de.lang $PO | |
| #msgmerge de.po josm_josm-pt_BR.po > temp.po | |
| #perl i18n.pl josm_josm-pt_BR.po de.po | |
| java $JOSM_ARGS -cp "$JOSM_DIR" -Djosm.restart=true $JOSM_CLASS | |
| #wget -c https://trac.openstreetmap.org/export/HEAD/subversion/applications/editors/josm/i18n/i18n.pl |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It results in error: