Faka Iplagi

Ii-plug-ins zinokuqwalaselwa ku .i18n/conf.yml , ezifana:

addon:
  - i18n.addon/toc

Iplagi Esemthethweni

Ingqungquthela Yegama Lefayile

Iiplagi zizonke npm iipakethe.

Iphakheji ehambelana no i18n.addon/toc ngasentla https://www.npmjs.com/package/@i18n.addon/toc

I-plugin isebenzisa inguqulelo yamva nje ngokungagqibekanga kwaye ijonga uhlaziyo lweveki.

Ukuba ufuna ukulungisa inguqulelo, ungabhala i18n.addon/[email protected] .

Umgca womyalelo wokuguqulela ongu i18n.site uza kuhlohla ifayile yengqungquthela yeplagi-in ipakethe kwaye emva koko iphumeze.

Amagama eefayile ekuvunyelwene ngawo ngala alandelayo

htmIndex.js

htmIndex.js iya kujovwa ukuya ekupheleni kwe .i18n/htm/index.js .

Apho __CONF__ iya kutshintshwa ngegama lolungelelwaniso lwangoku (njenge dev okanye ol ).

afterTran.js

Iya kubizwa emva kokuba uguqulelo lugqityiwe, kwaye iiparamitha ezigqithisiweyo zimi ngolu hlobo lulandelayo.

Ixabiso lembuyekezo sisichazimagama, esinje

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

file luluhlu lwefayile yemveliso, path yindlela yefayile, kwaye txt ngumxholo wefayile.

Imisebenzi Eyakhelwe-Ngaphakathi

Ixesha lokubaleka elakhelwe js lisekwe kuphuhliso lwesibini lwe boa kwaye imisebenzi eyakhelweyo yile ilandelayo :

Isikhokelo soPhuhliso

Uphuhliso lwe-plug-in lunokuba yireferensi https://github.com/i18n-site/addon