Gucomeka

Amacomeka arashobora gushyirwaho muri .i18n/conf.yml , nka:

addon:
  - i18n.addon/toc

Gucomeka Kumugaragaro

Izina Rya Dosiye

Amacomeka yose ni paki npm .

Ipaki ihuye na i18n.addon/toc hejuru https://www.npmjs.com/package/@i18n.addon/toc

Gucomeka ikoresha verisiyo iheruka kubisanzwe kandi igenzura ibishya buri cyumweru.

Niba ushaka gukosora verisiyo, urashobora kwandika i18n.addon/[email protected] .

Ubusobanuro bwumurongo wumurongo i18n.site uzashyiraho dosiye yamasezerano ya plug-in hanyuma hanyuma uyikorere.

Amazina ya dosiye yemeranijwe ni aya akurikira

htmIndex.js

htmIndex.js bazaterwa inshinge kurangiza .i18n/htm/index.js .

Aho __CONF__ izasimburwa nizina ryiboneza ryubu (nka dev cyangwa ol ).

afterTran.js

Bizahamagarwa nyuma yubusobanuro burangiye, kandi ibipimo byanyuzemo nibi bikurikira.

Garuka agaciro ni inkoranyamagambo, nka

{
  file:{
    //  path: txt, for example :
    // "_.json": "[]"
  }
}

file ni ibisohoka dosiye urutonde, path ninzira ya dosiye, naho txt nibiri muri dosiye.

Ibikorwa Byubatswe

Byubatswe muri js runtime ishingiye kumajyambere ya kabiri ya boa kandi ibikorwa byubatswe nuburyo bukurikira :

Igitabo Cyiterambere

Amacomeka yiterambere arashobora kuba reference https://github.com/i18n-site/addon