You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The writing-system entries in DAB are more complex that what is in SAB.
Here is an example writing-systems from the Hanga project:
<writing-systems>
<writing-system code="hag-Latn-GH-fonipa-x-emic" type="main|gloss">
<display-names>
<form lang="default">Hanga</form>
</display-names>
<font-family>font-hag-Latn-GH-fonipa-x-emic</font-family>
<trait name="text-direction" value="LTR"/>
<trait name="indexed" value="false"/>
<sort-method type="none">
<ignore-chars>- = ~ * ( ) [ ] ¡ ¿</ignore-chars>
</sort-method>
<alphabet>a b ch d e f g gb h i j k kp l m n ny ŋ ŋm o p r s t u v w y z</alphabet>
<input-buttons>a b ch d e f g gb h i j k kp l m n ny ŋ ŋm o p r s t u v w y z</input-buttons>
<features type="writing-system">
<e name="summary-gloss" value="true"/>
</features>
</writing-system>
<writing-system code="en" type="gloss">
<display-names>
<form lang="default">English</form>
</display-names>
<font-family>font-en</font-family>
<trait name="text-direction" value="LTR"/>
<trait name="indexed" value="true"/>
<sort-method type="none">
<ignore-chars>- = ~ * ( ) [ ] ¡ ¿</ignore-chars>
</sort-method>
<alphabet>a b c d e f g h i j k l m n o p q r s t u v w x y z</alphabet>
<reversal-filename>Hanga dictionary reversals.xhtml</reversal-filename>
</writing-system>
</writing-systems>
In DAB 12.2, there has been a change in how to determine if there will be index files (surprise to me).
Prior to DAB 12.2, there was a <trait name="indexed" value="true|false"> in the <writing-system> element.
In DAB 12.2, that has been pulled out into a separate configuration.
SAB and DAB share a lot of the same config, but there will be parts that are unique to DAB.
The main data elements in a DAB project are:
The main data elements in an SAB project are:
You will need to make the
convert/convertConfig.ts
file work with both types. The way that you tell which is which is in the<app-definition>
tag:The writing-system entries in DAB are more complex that what is in SAB.
Here is an example writing-systems from the Hanga project:
Here is an example writing-systems from SAB:
So you can see there is a different "type" (interface or gloss) and additional optional properties.
The text was updated successfully, but these errors were encountered: