Internationalization, Localization, Encoding, Iceland ndi Translation of Japan Cat Photo Website

kutanthauzira kwamayiko akunja

InternationalizationPali zambiri zambiri kunjaku zikafika kumayiko ena, kutanthauzira kwamayiko ena ndi kusungitsa ma webusayiti. Palinso kusamvetsetsa kwakukulu pazomwe aliyense amapereka pa intaneti. Nazi zanga…

Msakatuli akagwirizanitsa ndi seva ya pa intaneti, imadutsa zosiyanasiyananso ndikupanga zopempha zowonjezera, nachi chitsanzo:

GET / HTTP / 1.1
Wokonda: www.dknewmedia.com
Wogwiritsa-Mtumiki: Mozilla / 5.0 (Macintosh; U; Intel Mac OS X; en-US; rv: 1.8.1.3) Gecko / 20070309 Firefox / 2.0.0.3
Landirani: HTTP Accept = text / xml, application / xml, application / xhtml + xml, text / html; q = 0.9, text / plain; q = 0.8, image / png, * / *; q = 0.5
Chilankhulo chovomerezeka: en-us, en; q = 0.5
Landirani-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Internationalization

Kuyanjana kwapadziko lonse lapansi ndichinthu chambiri:

  1. Zachitukuko: Kukhoza kuzindikira chilankhulo ndi malo omwe mlendo akuyendera kuchokera. Izi zimachitika kudzera pazofunsira za HTTP pomwe mlendo amadziwika ndi malo. Kwa ine, ndi a en-US. "En" ndi Chingerezi ndipo "US" ndi United States. Izi ndizomwe zili mkati mwa Ntchito Yanga.
  2. Zigawo Zanthawi: Kutha kusintha kwa nthawi. Izi zimakwaniritsidwa pokhazikitsa seva yanu ku Greenwich Mean Time (GMT) kenako ndikuloleza ogwiritsa ntchito kukhazikitsa zolowa zawo kuchokera ku GMT.
  3. Kulemba Makhalidwe: Uku ndiye kuwonetsa mawonekedwe azilankhulo moyenera. Ndizosiyana ndi kutengera komweko popeza kutengera komweko kumatha kundiuza chilankhulo ndi dera la kompyuta yomwe ikupemphako, koma sizingandiuze chilankhulo chiti owerenga ikupempha… ndizo kwa owerenga!

Zindikirani mu mutu wanga wa HTTP pomwe msakatuli wapempha izi, adauza seva kuti ikupempha komwe ndimakhala (Landirani-Chinenero: en-us); komabe, iyeneranso kuuza seva zomwe Makhalidwe amafunsidwa (Landirani-Charset: Landirani-Charset: ISO-8859-1, utf-8; q = 0.7, *; q = 0.7) ISO-8859-1 ndi utf -8 zonsezi ndizovomerezeka.

kutanthauzira

M'dziko losakanikirana ili, kutanthauzira komwe sikumapangitsanso chilankhulo. Ngakhale ndili ku en-US, ndimatha kuwerenga chilankhulo china pogwiritsa ntchito mawonekedwe ena… ndizomwe zimachitika ndikagwiritsa ntchito Google Hindi (Sindikugwiritsa ntchito Google Hindi). Pempho langa lakusaka ndi mawonekedwe ofanana ndilofanana ndikamafunsa fomu ya Google English tsamba, koma ndadyetsedwa tsamba lomwe sindingathe kuwerenga chifukwa ndilibe mawonekedwe. Zonsezi zimabwera ????????????… Komabe, nditha kutengera tsambalo kukhala Firefox (Firefox> Zokonda> Zapamwamba> Ziyankhulo):

Chilankhulo Chotsitsa Firefox

Ngati ndikweza chinenerocho, nditha kupempha tsambalo pamtundu wake ndikuwonetsera pakompyuta yanga ngakhale komwe ndimakhala ku US!

Chifukwa chake… ngati ndine wophunzira ku India, ndikuphunzira Chingerezi ku Purdue ndikulumikizidwa kudzera VPN ku seva ya pasukuluyi, patchuthi ku Australia… pali magawo atatu osiyanasiyana omwe akuyenera kugwiritsidwa ntchito kuti akhale Internationalized - palibe zimadalira zinazo.

Dera langa likadakhala ngati en-US, koma nthawi yanga ndi Australia, koma chilankhulo chomwe ndikupempha patsamba lino chikhoza kukhala Chihindi. Ndikadakhala kuti ndikapangira pulogalamu yanga kuti ndipange malingaliro kutengera komwe kompyuta yanga ili, ndikadakhala kuti ndikulakwitsa - kudyetsa munthuyo Chingerezi nthawi yakum'mawa. Momwemo, ndikadapanga pulogalamu yanga kuti ndipereke onse mayendedwe azilankhulo ndi nthawi ... koma sindingaganize kutengera dera.

Iceland - chitsanzo chabwino kwambiri

Sitikudziwa zovuta zamanenedwe ambiri komanso osiyanasiyana ku United States komwe tili onse lankhulani Chingerezi [sarcasm implied]. M'mayiko ena, monga Iceland, ngakhale chilankhulo chawo ndi Chi Iceland, anthu osangalatsa aku Iceland amakula ndikuphunzira zilankhulo zitatu! Popeza Iceland ndi dziko lomwe lili pakati pa Europe ndi North America, makampani awo amagwira ntchito m'makontinenti angapo, zilankhulo, ziyankhulo zazilankhulo ndi nthawi zingapo kuchokera pakompyuta yawo!

Masamba ambiri aku Iceland amangidwa mu US English, UK English, Icelandic, Spanish, Spanish, French and German! Tangoganizirani momwe zingakhalire zovuta kumanga Icelandair kugwiritsa ntchito tsamba lawebusayiti ndi njira zamatikiti… Oo!

Chidziwitso: Ndakhala wokondwa kugwira ntchito ndi anthu abwino ochokera ku Icelandair ndipo ndikukuwuzani kuti ndi ena mwa akatswiri aluso kwambiri komanso ochezeka omwe ndakhala ndikugwira nawo ntchito. Ndi dziko lodabwitsa komanso anthu! Pitani kukacheza ... tengani Icelandair ndipo onetsetsani kuti mwayendera Blue Lagoon!

Chilankhulo motsutsana ndi Encoding

Pali mitundu yosiyanasiyana yamakalata m'chinenero chimodzi chomwe sichimasewera bwino wina ndi mnzake! Mwachitsanzo: Imelo yaku Japan yolembedwa mu Shift-JIS itha kuwerengeka pa kompyuta ya munthu waku Japan wokhala ndi jaization JP chifukwa seva yawo yamakalata imangodziwa EUC-JP. Momwemo, kasitomala ayenera kukhazikitsa zomwe angafune komanso chilankhulo - kungowonetsetsa kuti kuphatikizira ndi chilankhulo ndizogwirizana ndi zomwe wofunsayo akufuna.

Ngati ndikufuna kuwerenga Chijapani, ndiyenera kusankha onse achijapani ngati chilankhulo changa NDI Shift-JIS kuti azisindikiza kuti awonetse bwino chilankhulochi. Nazi zina zosokoneza zomwe mungawonjezere pakusakanikirana… mitundu ina yakusimbira imathandizira zilankhulo zingapo. UNICODE / UTF8 imathandizira ambiri. Zosiyanazo ndizowona. Zilankhulo zina zitha kuwerengedwa m'njira zosiyanasiyana. Ngati sizomveka… ndikupepesa, ndi nkhani yovuta kwambiri.

Tsiku lina ndikukhulupirira (ndikuyembekeza) izi zonse zisintha. Ndikuganiza kuti omwe adalemba zoyeserera zamasamba akuyembekeza kuti kasakanizidwe kazilankhulozi ndizofunikira zonse… koma takhala otsogola kwambiri. Kumbukirani, zambiri mwa izi zidapangidwa kale intaneti. Ndikubwera kwa GIS, mwina munthu atha kusankha kusanja kwawo ndipo GIS itha kudziwa zambiri zakanthawi ndi malo.

Internationalization

Bwererani ku thandizo lapadziko lonse lapansi. Ngati mukufuna kupereka ntchito yapadziko lonse lapansi, muyenera:

  1. Thandizani mitundu ingapo yamakalata, zilankhulo, ndikukhala ndi mafayilo omasulira kuti musonyeze zomasulirazo.
  2. Lolani kasitomala kuti azilankhula chilankhulo, ndipo mwina mtundu wawo wamakalata, ngati kuli kofunikira.
  3. Zigawo zothandizirana polola ogwiritsa ntchito kulozera nthawi yawo poyerekeza ndi GMT.
  4. Gwiritsani ntchito manambala akomweko mosamala… SAMASONYEZA molondola zomwe wopemphayo akupempha kapena zomwe angawerenge.

Translation

Kutanthauzira makina kudakali koyamba. Pali mawebusayiti angapo kunjaku (ndi WordPress Mapulagini) omwe amapereka kutanthauzira makina patsamba lanu. Osayesedwa kuti muchite izi… pali zifukwa ziwiri izi:

  1. Ngati makina omasulira agwira ntchito, wogwiritsa ntchito yemwe akuyang'ana tsamba lanu adzakhala ndi womasulira yemwe angagwire naye ntchito.
  2. Kutanthauzira kwamakina kumayamwa.

Simukundikhulupirira? Nayi matanthauzidwe achijapani a inu:
Zakale kuchokera Masatsu File - mkulu ndi tani ya zithunzi za amphaka:

Kulowa Blog ku Japan

??????????
- 00:29:35 by masatsu

?????????????????????????????
????????????????????????????

????????? (?)?

???????????????????????????????????????????
????????????????????????????????

????????????????????????????????????? (())

?????????

?????????
??????????
??????????

??????????

???????????????????????????????

?????????????????????????????????????????
?????????????????????????????????
?????????? Ag ??????????????

????????????????????????????????????????

Kutanthauzira Makina:

?? Kodi ?????
-00: 29:35 ndi masatsu

Dzinalo la nkhonya woyera wa / njovu yomwe idawonekera dzulo "a / zombo zankhonya zanyama ?? woyang'anira "" ?? Kodi ???? ” ndi / wosewera wailesi Yutaka Mizushima….

? (?) yomwe imachita nsomba zazing'ono mosavuta.

Chifukwa ngakhale woyimba wailesi ya woyera nkhonya, master ????? a / the cat are the Chinese quince of a Nagai Ichiro = dragon ball the staff of a / the ?? woyang'anira amawoneka ngati anthu omwe amatsenga amadziwa mosavuta.

(Thukuta) lomwe ndimayiwala kwathunthu chaka chino "chinsinsi cha dzina la zombo zapamwamba", zomwe zimachitika chaka chilichonse?,

Ngati ndilemba mwachidwi chaka chino,

??????? kachisi ??? (mungathe bwanji?)? kukopa kwamutu (osadulidwa) Fukami ?? (? kapena kuona kutha?) ndi / ndiye zomwe zimatero

?????? With, it is become "a can /? /?", Mwa kuyankhula kwina, "kung fu", mukakonza mzere ndikusintha mutu wa / dzinalo.

?????? Ngakhale akuti akuti achulukitsa ena awiri akuti atha kukhala dzina lamtundu wanji.

Chowonadi chimanenedwa kuti "zaka" chifukwa chizindikiro cha siliva ndi Ag?, Ngakhale dzina la "the ???? siliva ”the Takaoka? katswiri wa ??????? anali kuganiza kuti khalidwe lotchedwa "?" idagwiritsidwa ntchito limodzi ndi kanema wa kanema wa siliva, ngati amauyitana ndi membala wowonjezera.

?????? Komabe, ndikuganiza zodzikonda, kuti lingaliro langa silili logwirizana ndi "?" akuphatikizidwa mu / chikhalidwe cha Chitchaina.

Ndikutsimikiza kutembenuza polarity pamasuliridwewa kungaperekenso tanthauzo mu Chingerezi. Mudamvetsetsa zolowera, sichoncho?

2 Comments

  1. 1

Mukuganiza chiyani?

Tsambali likugwiritsa ntchito Akismet kuchepetsa spam. Phunzirani momwe deta yanu ikufotokozera.