Understanding translation tools =============================== Translators use translation tools to translate the strings in the standard's schema, codelist and documentation files from the source language (English) to other languages. Projects and resources ---------------------- Translation tools are organized into projects. Projects contain (re)sources, which contain strings to be translated. Strings to be translated ------------------------ From CSV codelists ~~~~~~~~~~~~~~~~~~ In OCDS, the strings in the ``codelists`` resource are extracted from the CSV files in `schema/codelists/*.csv `__. They provide the content for the codelist tables on the `codelists `__ page. In OC4IDS, the strings in the ``infrastructure-codelists`` resource are extracted from the CSV files in `schema/project-level/codelists/*.csv `__. They provide the content for the codelist tables on the `codelist reference `__ page. From JSON Schema ~~~~~~~~~~~~~~~~ In OCDS, the strings in the ``schema`` resource are extracted from the JSON files in `schema `__. They provide the content for: - JSON Schema tables on the `release reference `__ and `records reference `__ pages - schema viewers on the `release `__, `release package `__ and `record package `__ schema pages - translated JSON Schema files distributed with the documentation In OC4IDS, the strings in the ``infrastructure-schema`` resource are extracted from the JSON files in `schema `__. They provide the content for: - JSON Schema tables on the `schema reference `__ page - schema viewers on the `schema browser `__ and `packaging data `__ pages - translated JSON Schema files distributed with the documentation From OC4IDS mappings ~~~~~~~~~~~~~~~~~~~~ In OC4IDS, the strings in the ``infrastructure-mappings`` resource are extracted from the CSV files in `mapping `__. They provide the content for the mapping tables on the pages in the `CoST IDS and OCDS mapping `__ section. .. _markdown-resources: From Markdown files ~~~~~~~~~~~~~~~~~~~ With the exceptions of the above resources, each resource sources its strings to be translated from a single Markdown (``.md``) documentation file in the `docs `__ directory tree. These files provide the content for https://standard.open-contracting.org/latest/en/. For example, the resource ``getting_started--contracting_process`` sources strings from `docs/getting_started/contracting_process.md `__ and provides the content for https://standard.open-contracting.org/latest/es/getting_started/contracting_process/.