Giter VIP home page Giter VIP logo

uls's Introduction

uls

alt text

A Wordpress Plugin to convert UEY to ULY/USY

Wordpress Uchun Uyghurche Yeziqlarni almashturush qisturmisi

Salam. Mezkur qisturma G.Toxti Kenji ependi teripidin yasalghan bolup, uning ruxsiti bilen, githubgha quyuldi. Kodning barliq hoquqi G.Toxti Kenji'ge mensuptur.

Ishlitish Usuli:

  1. Hojjetlerni Wordpress qachilanghan bash munderijige quyung
  2. www.yourdomain.xxx(sizning bekitigizning adresini)/yengila.php ni eching

shuning bilen qisturma utuqluq halda qachilinidu.

Unumini korush:

Ortaq Turk yeziqi uchun: www.yourdomain.xxx/?uls=ut

Uyghur Latin yeziqi uchun: www.yourdomain.xxx/?uls=ul

Uyghur Kiril/Slawiyan yeziqi uchun: www.yourdomain.xxx/?uls=us

Uyghur Ereb yeziqigha qaytish uchun: www.yourdomain.xxx/?uls=uu

Misal biket: http://www.ukij.org/ug/

Bashqa tengshekler: !. Bezi uslublarda ishlimesliki mumkin;

!!. Yeziq almashturush uchun herbir herpni tekshuridighan bolghachqa, bezi uzun tekst bar betlerni almashturushqa ketidighan waqit uzaq bolup ketishi mumkin, hetta betler echilmay aq bolup qelishi mumkin, bu chaghda Uyghur Ereb yeziqigha qaytish ulinishini besiwetsigiz bolidu;

!!!. Torbiket eslidin Uyghur Ereb yeziqida putken bolushi we putunley Uyghurchigha maslashturulghan bolsa unumi teximu yaxshi;

!!!!. Qisturmini qachilap bolup, Wordpress'ning neshiri yengilash meshghulati qilsigiz qisturma ishlimesliki mumkin, bu chaghda http://www.yourdomain.xxx/yengila.php ni besiwetsigiz ongshilidu.

1.Ereb yeziqidin Latin/Kril yeziqigha almashqanda, herpler soldin onggha ozgirishi kirek, buning uchun soldin bashlanghan yeziqqa maslashturup bir css hojjti teyyarlang, andin uni uls.php ichige rtl.css larni quyung Ornek:

function ayladur($out)
{
    if($_SESSION['uls'] == "ul")
    {
		$out=U2L($out);
		$out=str_replace("style.css", "ltr.css", $out);
		$out=str_replace("bootstrap.min.css", "bootstrap.min.ltr.css", $out);
    }
    else if($_SESSION['uls'] == "us")
    {
		$out=U2S($out);
		$out=str_replace("style.css", "ltr.css", $out);
		$out=str_replace("bootstrap.min.css", "bootstrap.min.ltr.css", $out);
    }
    else if($_SESSION['uls'] == "ut")
    {
		$out=U2T($out);
		$out=str_replace("style.css", "ltr.css", $out);
		$out=str_replace("bootstrap.min.css", "bootstrap.min.ltr.css", $out);
    }
    return $out;
}
  1. Tillarning yeziqini ulinishqa qoshqanda towendiki buyiche qushung:

ئۇيغۇرچە(Ereb yeziqidiki isim uchun):

ئۇيغۇرچە

УЙҒУРЧӘ(Kril yeziqidiki isim uchun):

Уйғурчә

Uyghurche(Latin yeziqidiki isim uchun):

Uyghurche

Uyğurçe(Ortaq Turk yeziqidiki isim uchun):

Uyğurçe

Ornek:

<div style="direction: ltr; float: right; padding-right: 60px; padding-top: 6px; text-transform: capitalize;"> <a href="?uls=us">&#1059;&#1081;&#1171;&#1091;&#1088;&#1095;&#1241;</a> | <a href="?uls=ul">&#85;&#121;&#103;&#104;&#117;&#114;&#99;&#104;&#101;</a> | <a href="?uls=ut">uyğurçe</a> | <a href="?uls=uu">&#1574;&#1735;&#1610;&#1594;&#1735;&#1585;&#1670;&#1749;</a> </div>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.