Skip to content

Commit ef6d314

Browse files
committed
added po file
1 parent 942c795 commit ef6d314

File tree

3 files changed

+4422
-3
lines changed

3 files changed

+4422
-3
lines changed

services/static-webserver/client/.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,3 @@ source/resource/iconfont/material
1414
# generator outputs
1515
/api/
1616
/test/
17-
18-
# translations for the moment ignored
19-
*.po

services/static-webserver/client/Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,17 @@ serve: compile ## serves site compiled in image in 127.0.0.1:8080
8888
docker run --rm -p 8080:8080 $(docker_image) $(qx_serve) --target=build
8989

9090

91+
# qx translate -------------------------- https://qooxdoo.org/documentation/v7.8/#/development/howto/internationalization?id=translation
92+
93+
define qx_translate_extract =
94+
qx compile --update-po-files
95+
endef
96+
97+
.PHONY: translate-extract
98+
translate-extract: translate-extract # the .po files goes to source/translation
99+
# qx compile -i18n
100+
$(docker_compose) run $(if $(detached),--detach --name=$(detached),--rm) qooxdoo-kit $(qx_translate_extract)
101+
91102

92103
# misc --------------------------
93104
.PHONY: shell

0 commit comments

Comments
 (0)