PHPackages                             gelight/sml-i18n-for-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. gelight/sml-i18n-for-php

ActiveLibrary[Localization &amp; i18n](/categories/localization)

gelight/sml-i18n-for-php
========================

Internationalization and localization for PHP based on SML

1.3.0(4y ago)04MITPHP

Since Aug 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/GELight/sml-i18n-for-php)[ Packagist](https://packagist.org/packages/gelight/sml-i18n-for-php)[ RSS](/packages/gelight-sml-i18n-for-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

sml-i18n-for-php
================

[](#sml-i18n-for-php)

Internationalization for PHP based on SML ([Simple Markup Language](https://dev.stenway.com/SML/PHP.html))

What is SML?
------------

[](#what-is-sml)

> [Video - Using SML in PHP](https://dev.stenway.com/SML/PHP.html)

> [Guide - SML Specification](https://dev.stenway.com/SML/Specification.html)

> [Wikipedia (DE)](https://de.wikipedia.org/wiki/Simple_Markup_Language)

> [Video - SML in 60sec](https://www.youtube.com/watch?v=qOooyygwX0w)

> [Video - SML Explained](https://www.youtube.com/watch?v=fBzMdzMtH-s&t=221s)

Using
-----

[](#using)

> [Example - How can I use this lib?](Example.md)

Example
-------

[](#example)

```
    Translations
        de
            sml
                welcome "Willkommen in der Welt von SML mit sml-i18n-for-php"
                description "Die Simple Markup Language ist eine einfach und schnell zu schreibende Auszeichnungssprache. Es verwendet nur einen minimalen Satz von Sonderzeichen und fühlt sich daher sehr natürlich an. Es ist zeilenbasiert, und wenn Sie eine Touch-Schreibkraft sind, werden Sie es lieben."
            End
        End
        en_GB
            sml
                welcome "Welcome to SML using sml-i18n-for-php"
                description "The Simple Markup Language is an easy and fast to type markup language. It only uses a minimal set of special characters and therefor feels very natural. It is line-based, and if you are a touch typist you will love it."
            End
        End
        ja_JP
            sml
                welcome "sml-i18n-for-phpを使用したSMLへようこそ"
                description "Simple Markup Languageは、簡単かつ迅速に入力できるマークアップ言語です。最小限の特殊文字セットのみを使用しているため、非常に自然な感じがします。それはラインベースであり、あなたがタッチタイピストならあなたはそれを気に入るはずです。"
            End
        End
    End
```

```
