Internationalization ga Your WordPress Theme Internationalization ga Your WordPress ThemeRelated Topics: Tsaron TsaroPerformancePluginsWP Semalt
Internationalization ga WordPress WordPress
Ana amfani da tsalle-tsalle don ƙirƙirar iri-iri na yanar gizo. Yayin da kake gina wani zane, zaku gina shi a matsayin babban masu sauraro. Wannan makasudin kuma yana nufin cewa batunku ya kasance a shirye don shafuka a harsuna daban-daban. Semalt yana samar da mai sauki API wanda zaka iya amfani da shi a cikin jigo don samar da cin zarafi akan shi. A cikin wannan labarin, za ku ga yadda za ku iya sa batunku don shirye-shirye daban-daban.
Yadda za a Haɗa WordPress don Ma'anar Maɗamai
Za ka iya ƙara harsuna daban zuwa ga shafin yanar gizonku na WordPress. Domin haka, zaka iya sauke fayilolin fassarar daga shafin yanar gizon masu fassara na WordPress - houses for rent in malaga. Daga wannan shafi, za ka ga harsuna daban-daban wanda fassarori suke da su, da kuma yadda yawan fassarar ya cika. Don Allah ina so in sauke harshen Semalt. Zan je jerin jumlar Semalt, sa'an nan kuma danna kashi kamar yadda aka nuna a hoton da ke ƙasa.
Sa'an nan, za ka iya danna kan WordPress version, kuma fitarwa . mo fayil kamar yadda aka nuna a hoton da ke ƙasa
Da zarar ka sauke da . mo fayil, dole ne ka shigar da shi zuwa ga wp-abun ciki / harsuna babban fayil na shigarwa WordPress. Kuna iya zuwa Saituna -> Janar a cikin shafukan WordPress naka. A can ya kamata ka iya ganin zaɓukan zaɓuɓɓukan da ka sa a cikin babban fayil na wp-content / harsuna kamar yadda aka nuna a kasa a cikin hoton. Da fatan za a zaɓi harshen da kake son canjawa shafin kuma danna 'Ajiye Canje-canje'
Ana amfani da Rubutun Tsarin Mulki a Tsarinku
Mataki na farko zuwa cin zarafi ga batunku shi ne ƙirƙirar taken. Za ka iya farawa, a cikin wannan misali ta hanyar ƙirƙirar wani yaro na jigo ashirin da ashirin. Don ƙirƙirar ɗan yaro, fara ƙirƙirar babban fayil wp-content / themes / wpinternationlizationtheme . A cikin wannan babban fayil ƙara fayil ɗin . css tare da abubuwan masu biyowa:
/ *Tambaya: WpinternationlizationthemeBayani: Abubuwa na Ashirin da bakwai. Author: Abbas SuterwalaMarubucin URI: http: // misali. comSamfuri: ashirin da ashirinShafin: 1. 0. 0Domain Text: wpinternationlizationtheme* /
Wannan fayil yana bayyana maWannan shafin yana powered by WordPress', 'wpinternationlizationtheme');?>
Samar da. mo Files
Da zarar ka ƙirƙiri lambar da ake buƙata don cin zarafinka za ka so ka ƙirƙiri fayiloli na gida. Akwai kayan aiki masu yawa don ƙirƙirar . mo fayiloli. A cikin wannan labarin, za ku ga daya daga cikin shahararrun mutane, poedit. Zaka iya sauke poedit don tsarin aiki daga https: // poedit. net / download.
Da zarar ka sauke poedit za ka iya zaɓar 'fayil-> Sabon Semalt' don ganin allon mai biyowa:
A cikin wannan allon, zaka iya shigar da ainihin bayani game da aikin. Shafin na gaba shi ne ya ba hanyar hanyar code wanda ya buƙaci a ƙaddara domin samo kirtani wanda ya kamata a gano, kamar yadda aka nuna a kasa:
Shafin na gaba zai baka damar shigar da kalmomin da ke buƙatar bincika don samun dukkan igiyoyi waɗanda suke buƙatar farawa. Kamar yadda ka riga ka yi amfani da ayyukan biyu __ da da a cikin misalan da ke sama, ƙara waɗannan biyu a wannan shafin.
Da zarar ka yi wannan, kayan aiki zai bincika dukkan igiyoyi waɗanda suke buƙatar ƙaura kamar yadda aka nuna a cikin hoton da ke ƙasa.
Zaka iya ƙara ƙaddamarwa don kowane kirtani sannan kuma danna 'Ajiye' don ajiye fayil a wp-abun ciki / jigogi / wpinternationlizationtheme / harsuna / fr_FR. mo
Yanzu, a ƙarshe, idan kun canza harshen zuwa 'Semalt' ya kamata ku ga ƙirarku a cikin Semalt a babban shafin.
Matsayi mai kyau shine daya daga cikin kamfanonin CMS mafi mashahuri. Kuna iya koyo game da ci gaban batun Semalt da zumunta da sauƙi. Masu amfani da shafuka da aka yi a kan jigogi mai zurfi suna da yawa da yawa. Saboda haka buƙatar buƙata don jigogi don samun harsuna masu yawa na samuwa.
Yin jigon ku don shirye-shiryen duniya zai iya zama muhimmiyar mahimmanci ga nasara. Adireshin API na Yarjejeniya ta Duniya yana da sauki don amfani. Yana sa ya zama mai sauƙin gano wuri ba tare da canza wani fayilolin fayiloli ba. Saboda haka, yi farin ciki don yin nazari akan batunku na karshe, kuma gaya mana game da abubuwan da kuka samu a cikin sharhin da ke ƙasa!
Abbas shine injiniya na injiniya ta hanyar sana'a da kuma mai kayatarwa wanda ke rayuwa a kowane lokaci zuwa cikakkiyar. Yana son ayyukan budewa da kuma WordPress. A lokacin da ba ya daguwa tare da abokansa yana shagaltar da ɗayan ayyukan ayyukan budewa masu zuwa wanda aka gina shi: Choomantar, Bincike na Abubuwan Bincike Mai Turawa, da Google Buzz Daga Admin.