metanorma / metanorma-gb

Metanorma processor for GB: write Chinese Standards using GbDoc
BSD 2-Clause "Simplified" License
2 stars 3 forks source link

Problems when using English version (`:script: en`) of a GB standard #50

Closed ronaldtse closed 6 years ago

ronaldtse commented 6 years ago

Problem 1.

"Introduction" is given as the 5th section when English is used. I presume it is because "== 引言" was expected. Is it possible to allow a localization file to take care of this?

Problem 2.

There's a lot of Chinese still on the cover page (and the "Index" title). Can we provide a separate YAML file for pairwise translations?

screen shot 2018-03-29 at 8 59 06 am
opoudjis commented 6 years ago

Basically this means English version of the front page templates, which can be done through YAML files. I'd make them additional YAML files.

opoudjis commented 6 years ago

As argued in another ticket, overkill; the Liquid templates instead need access to the i18n hash.

ronaldtse commented 6 years ago

Agree, thanks @opoudjis !

opoudjis commented 6 years ago

Problem 1: in fact all the others are bilingual in the code, I'd just forgotten to add "introduction".

opoudjis commented 6 years ago

Front page in English version is now in English, apart from standard class and issuer.

opoudjis commented 6 years ago

DOne those too.

ronaldtse commented 6 years ago

Wow, it's working! 👍