Amafayela ahambisana nezindawo ezinezinombolo esithombeni esingenhla ami kanje:
.i18n/htm/t1.pug
.i18n/htm/t2.pug
pug
uwulimi lwesifanekiso okhiqiza HTML
's.
➔ Chofoza lapha ukuze ufunde uhlelo lolimi lwe- pug
Iyunithi yezinhlamvu yefomethi engu ${I18N.sponsor}
isetshenziswa efayelini ukuze kusetshenziswe ukwenziwa kwamazwe ngamazwe, futhi okuqukethwe kwayo kuzothathelwa indawo umbhalo ohambisanayo kokuthi i18n.yml
Ifayela elihambisana nesitayela sebha yokuzulazula .i18n/htm/topbar.css
:
[!WARN] Ungabhali
css
no-js
kupug
, kungenjalo kuzoba nephutha.
js
ayikwazi ukubhalwa ngo pug
Uma ukusebenzelana kudingekile, kungafinyelelwa ngokwakha ingxenye yewebhu.
Izingxenye zingachaza ingxenye yekhasi lewebhu kokuthi md/.i18n/htm/index.js
bese zisebenzisa ingxenye kokuthi foot.pug
.
Kulula ukwakha izingxenye zewebhu, ezifana <x-img>
angokwezifiso0 .
customElements.define(
'x-img',
class extends HTMLElement {
constructor() {
super();
var img = document.createElement('img');
img.src = '//p.3ti.site/i18n.svg';
img.style = "height:99px;width:99px;";
this.append(img);
}
}
)
Okwamanje x/i-h.js
ubalulwe ku md/.i18n/htm/index.js
, okuyingxenye yewebhu esetshenziselwa ukwenza ukuzulazula kwamanye amazwe kanye nombhalo wokuqukethwe owenziwe ngokwezifiso. Bona ikhodi yomthombo 18x/src/i-h.js