GithubHelp home page GithubHelp logo

zlanguage-ru_ru's Introduction

language-ru_RU

Russian translations for WonderCMS

Русский перевод для WonderCMS



Russian translations Author: RarogCmex

This plugin adds Russian translations to the WonderCMS admin area, based on https://github.com/StephanStanisic/zlanguage-nl_NL (experimental version)

How to use

  1. Login to your WonderCMS website.
  2. Click "Settings" and click "Plugins".
  3. Find plugin in the list and click "install".

(Русский) Как использовать

  1. Войдите на сайт
  2. Кликните "Settings" и на вкладку "Plugins".
  3. Найдите плагин в списке и нажмите "install".

How this works

The translations are all in the nl_NL.csv file. Why in CVS? That's how all other major CMSes do it, so there must be a good reason for it.

You will see something like this a lot:

SECTION NAME
	"> Some text","> Wat tekst"

The 'parser' skips all lines that are not equal to two values, so SECTION NAME (contains one value) is skipped. All the pairs are in the preg_replace regex format. That's all this does. The prepending of > and > makes sure that we only match the contents of a tag.

This way, > Security will match in

<a href="#security" aria-controls="security" role="tab" data-toggle="tab" class="nav-link">Security</a>

and it won't match in

<div class="btn-group w-50"><button type="submit" class="btn btn-success" name="betterSecurity" value="on">ON (warning: may break your website)</button></div>
<div class="btn-group w-50"><button type="submit" class="btn btn-danger" name="betterSecurity" value="off">OFF (reset htaccess to default)</button></div>

zlanguage-ru_ru's People

Contributors

rarogcmex avatar stephanstanisic avatar

Watchers

 avatar  avatar

Forkers

robiso d2boy

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.