diff --git a/_hxltm/exemplum/README.md b/_hxltm/exemplum/README.md new file mode 100644 index 0000000..97fa35d --- /dev/null +++ b/_hxltm/exemplum/README.md @@ -0,0 +1,16 @@ +# _hxltm/exemplum/README.md + + +```sh +# pip install libhxl +# @see https://github.com/HXLStandard/libhxl-python +cd + +hxlspec _hxltm/exemplum/schemam-un-htcds_eng-Latn--por-Latn.hxlspec.json > _hxltm/out/schemam-un-htcds_eng-Latn--por-Latn.csv + +head -n3 _hxltm/out/schemam-un-htcds_eng-Latn--por-Latn.csv +# Codicem,Lingua Lusitana,Lingua Lusitana (alternātīvum),Lingua Anglica,Lingua Anglica (alternātīvum),Lingua Anglica (meta) +# #item+id,#item+i_pt+i_por+is_latn,#item+i_pt+i_por+is_latn+alt+list,#item+i_en+i_eng+is_latn,#item+i_en+i_eng+is_latn+alt+list,#meta+item+i_en+i_eng+is_latn +# L10N_ego_summarius,Língua portuguesa (alfabeto latino),∅,English language (Latin script),∅,∅ + +``` diff --git a/_hxltm/exemplum/schemam-un-htcds_eng-Latn--por-Latn.hxlspec.json b/_hxltm/exemplum/schemam-un-htcds_eng-Latn--por-Latn.hxlspec.json new file mode 100644 index 0000000..deb7bce --- /dev/null +++ b/_hxltm/exemplum/schemam-un-htcds_eng-Latn--por-Latn.hxlspec.json @@ -0,0 +1,26 @@ +{ + "input": "https://docs.google.com/spreadsheets/d/1ih3ouvx_n8W5ntNcYBqoyZ2NRMdaA0LRg5F9mGriZm4/edit#gid=1292720422", + "recipe": [ + { + "filter": "with_rows", + "queries": [ + "#status>-1" + ], + "$comment": "_[eng-Latn]Only rows that are ready for translation (including initial metadata per file)[eng-Latn]_" + }, + { + "filter": "with_columns", + "includes": "#item+id,#item+i_en+i_eng+is_latn,#item+i_pt+i_por+is_latn,#meta+item+i_en+i_eng+is_latn", + "$comment": "_[eng-Latn]Select only some fields[eng-Latn]_" + } + ], + "$comments": [ + { + "$comment": "_[eng-Latn]Only rows that are ready for translation, but still includes the #status=2 (like the initial testing fields)[eng-Latn]_", + "filter": "with_rows", + "queries": [ + "#status=1" + ] + } + ] +} diff --git a/_systema/programma/hxltm-exportandum.sh b/_systema/programma/hxltm-exportandum.sh index 0abc20c..f5b9a07 100755 --- a/_systema/programma/hxltm-exportandum.sh +++ b/_systema/programma/hxltm-exportandum.sh @@ -11,6 +11,7 @@ # @see https://github.com/HXL-CPLP/forum/issues/58 # To manually test, via cli # sh /opt/okapi/tikal.sh --info +# sh /opt/okapi/tikal.sh -listconf # To manually test, via gui # sh /opt/okapi/rainbow.sh # To get started with Okapi: