VUE ?? ?????? ??? (I18N) ? ??? (L10N)? ??? ??? ? ?????
Jun 20, 2025 am 01:00 AMVUE ?? ??? ? ???? ?? VUE I18N ????? ???? ?????. 1. NPM ?? ??? ?? VUE-I18N? ??????. 2. ?? ???? ?? ??? JSON ?? (? : EN.JSON, ES.JSON)? ????. 3. ??? ?? ? ??? ??? main.js?? i18n ????? ??????. 4. $ t ( '?')? ???? ????? ??? ???????. 5. ?? ?? ???? ???? ?? ?? ?? ?? ??? ?????. 6. ???? ??? ??? ?????? ??? ???? ?????. 7. ??? ?? ??? ?? ?? ?????? ??? ??? ??????. 8. $ t ( 'hellouser', {name : 'alice'})? ?? ?? ???? ???? ?? ?? ??????. 9. I18N ???? ??? ??? ???? ??? ?? ??? ?? $ tc ()? ??????. 10. RTL ?? ?? ?? ??? ?? ?? ??? ?? ?? ??? ??? ???? ?? Intl ?? Date-FNS? ?? ?????? ??????.
VUE ?? ??? (I18N) ? ??? (L10N)? ?? ? ??? ?? ???. ???? ?? ???? ???? ???? ???? ???, ??, ?? ? ?? ??? ?? ??? ???? ?????. ?? ???? ?? ????? ??? ??? VUE ?? ?? ??? ?? ? ???? ? Vue i18N? ???? ????.
VUE I18N ??
????? NPM ?? ??? ?? vue-i18n
??????.
NPM ?? vue-i18n@9
???? Locale ??? ?? ( en.json
, es.json
?)? ???? ? ?? ?? ( main.js
?? ?? ???)?? i18n ????? ??????.
'vue'?? {createapp} ?? ?? 'vue-i18n'?? {createi18n} ?? ?? './app.vue'?? ? ?? ?? './locales/en.json'?? ?? ?? './locales/es.json'?? ES ?? ?? const i18n = createi18n ({{ ??? : ??, ??? : 'en', FollbackLocale : 'en', ??? : { ko, es } }) CreateApp (app) .use (i18n) .mount ( '#app')
?? $t('key')
???? ???? ?? ???? ??? ??? ? ? ????.
?? ??? ????? ?????
???? ?? ??? ?? ?? ???? ?? ??? ?? ??? ? JSON ??? ??????.
en.json
{ "??": "?????!", "??": { "??": "??" } }
es.json
{ "??": "? Bienvenido!", "??": { "??": "Enviar" } }
?? ?? ?? ???? ?? ?? ??? ?? ?????. Poeditor ?? Crowdin ? ?? ??? ???? ?? ?? ? ?? ?? ?? ?? ??? ?? ? ? ??????.
? ?? ? :
- ?? ??? ???? ???? ??????.
- ??? ??? ???? ?? ?? ? ??? ?????. ?? ????? ? ????.
- ?? ? ???? ?? ? ?? ??? ?? ?? ??? ??? ??????.
??? ???? ?????
????? ?? ??? ???? ?? ?????. i18n ?????? locale
??? ?????? ??????.
'vue-i18n'?? {usei18n} ?? ?? ???? ??? { ??() { const {locale} = usei18n () ?? changelang (Newlang) { locale.value = Newlang } ?? {Locale, Changelang} } }
????? :
<button @click = "changelang ( 'es')"> espa?ol </button>
????? ?? ?? ?? ???? ?? ?????. ???? ?? ? ??? ?? ? ??? ???? ?? ?????? ??? ??? ?? ? ? ????.
?? ? ??? ? ??? ??
??? ??? ?? ? ???? ????? ???? ???????. Vue i18n? ??? ?? ?????.
?? ? ?? :
JSON?? :
"Hellouser": "?????, {name}!"
?? ???? :
<p> {{$ t ( 'hellouser', {?? : 'alice'})} </p>
??? :
i18N ???? ?? ?? ?? :
const i18n = createi18n ({{ ??? : ??, ??? : 'en', FollbackLocale : 'en', ??? : { ko : (??, ??, ??) => { if (choicesLength === 2) { ?? ??> 1? 1 : 0 } ?? ??? 1 : 0 } }, ??? : { ko, es } })
?? ?? JSON?? :
"?? selected": "{count} ??? ?????? | {count} ??? ??????."
??? ????? :
<p> {{$ tc ( 'itemsSelected', itemCount, {count : itemCount})} </p>
?? ?? ?? ??? ?? ??? UI? ????? ?????.
??? ????? i18N? L10N? VUE?? ???? ?????. ??? ?? ? ??? ?? ????? ??? RTL ??, ?? ?? ?? ?? ??? ?? ?? ???? ???? ????? ????. ?? ???? date-fns
?? Intl
? ?? ?????? ??? ??????. ??? ???? ?? ??? ?? Vue i18n? ??? ? ????.
? ??? VUE ?? ?????? ??? (I18N) ? ??? (L10N)? ??? ??? ? ?????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? transforminvue3aimedtosimplify handlingreactivedatabyautomicallytrackingandmaningreactivity withoutequiringmanualref () ?? valueusage.itsivingtoreduceboilerplateandimprovecodeReadabilitabledevariableletandsconstasmonclicallicallicallicallicallicallicallicallicallicallicallicalliceLerplateNclateMconsconclicallicallicallicallicallicallicallicallicalliceLerplateN

??? ? ??? invueAppsareprimally handledusingthevuei18nplugin.1.installvue-i18nvianpmoryarn.2.createlocalejsonfiles (? : en.json, es.json) fortranslationMessages.3

?? : keyAttributeWithv-forInvueisSenderferperferformanCanceAndCorrectBehavior.first, ithelpsVuetrackeachelementementEficiledullyBirtlyBirtlyDiffingAlgorithMtoIndifyandUpdateOnlyWhat'Snecessary.second, itpreservescomponents, ensuri

SPR (Server-SiderEndering)? ????? ??? ??? ??? ????

VUE ?? ?? ?????? ????? ???? ???? ??? ??? ???? ?? ??, ??? ? ??? ????? ??????. 1. ?? ??? ?? ?? ??, ???? ?? ?? ? ???? ?? ??? ??? ?? ??? ?? ????????. 2. ??? ???? ???? ?? SCSS ?? CSS ??? ??????. 3. ?? ??? ???? ??? ?? ???? ???? ?? Eslint ? Pretier? ?????. 4. ?? ?? ???? ?? ??? ??? ?????. 5. VITE ? ?? ??? ???? NPM ???? ????? ? ??? ?????. 6. Semver ??? ?? ?? ? ? ?? ? Changelogs? ??????.

ToaddtransitionsandanimationsinVue,usebuilt-incomponentslikeand,applyCSSclasses,leveragetransitionhooksforcontrol,andoptimizeperformance.1.WrapelementswithandapplyCSStransitionclasseslikev-enter-activeforbasicfadeorslideeffects.2.Useforanimatingdynam

NextTick? VUE?? DOM ???? ? ??? ???? ? ?????. ???? ???? VUE? ?? DOM? ?????? ??? ?? ??? ?? "Tick"?? DOM? ?? ?????. ??? ???? ? DOM? ?????? ?? ???? ?? NextTick? ???????. ???? ????? ??? ????. ???? ? DOM ??? ???, DOM ??? ???? ?? ?????? ???? ?? ??? ???? ?????. ???? ??? ???? ?? ?????. $ NextTick? ?? ?? ????, ??? ? ???? ???? Async/Await? ?????. ?? ???? ??? ?????. ??? ??? ?????. ???? ?? ?? ????? ???? ??? ?? ?? ? ?? ?? ????? ?? ? ? ????.

1. PHP ?? ?? ? ?? ?????? Laravel MySQL VUE/React ??? ? ?? ??? ???? ??? ?? ?? ??? ?? Laravel MySQL VUE/React ??? ? ?? ?????. 2. ???? ?? (REDIS), ?????? ???, CDN ? ??? ?? ???????. 3. ?? ???, CSRF ??, HTTPS, ???? ??? ? ?? ??? ??? ???????. 4. ? ??? ??, ?? ??, ??, ???, ?? ?? ? ?? ??? ??? ???? ? ? ??? ??? ?? ????.
