PHP Classes
elePHPant
Icontem

PHP-DS: Translate text in PHP code to different languages

Recommend this page to a friend!
  Info   View files Example   View files View files (17)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-12-13 (8 months ago) RSS 2.0 feedNot enough user ratingsTotal: 159 All time: 8,486 This week: 400Up
Version Licenses PHP version Categories
php-ds 1.0.1MIT/X Consortium ...7Localization, PHP 5, Code Generation
Description Author

This class can translate text in PHP code to different languages.

It takes an array with different configuration values and generates code for a class with a list of variables and functions.

Applications can retrieve localized texts defined in the configuration array using the generated class variables and functions.

Innovation Award
PHP Programming Innovation award nominee
January 2018
Number 12
This class can translate text in PHP code to different languages.

It takes an array with different configuration values and generates code for a class with a list of variables and functions.

Applications can retrieve localized texts defined in the configuration array using the generated class variables and functions.

Manuel Lemos
Name: berkay karata? <contact>
Classes: 1 package by
Country: Turkey Turkey
Age: 20
All time rank: 403973 in Turkey Turkey
Week rank: 713 Up11 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 1x

Details

PHP-DS is very simple. You can learn it completely in 16 steps :) : https://github.com/insayd10/PHP-DS/wiki/Learn-PHP-DS-in-16-steps

*

What is PHP-DS?

A completely different i18n experience! * Briefly

You code a class with PHP, and you want your class to be able to translate to multiple languages. As you know, the arrangements made within the file are very troublesome. PHP "PHP-DS", with a different method, allows your classes to have an infrastructure that can support multiple languages.

  • Longish

As you know, OOP (Object Oriented Programming) is already developing a technology by entering our life. The boundaries of OOP are mechul, but the usage is beyond standard. With the same style of coding, we work for different purposes.

Free software, freely reachable We've designed the PHP-DS to make it easy for a class with a large target mass to quickly and easily reach its mass, adapt to its mass. As we can understand, we are not trying to avoid the standard, but we aim to reach them quickly.

We aimed to develop methods that have more than one use of humans. for example, file_upload :: file ($ file) for an upload class; Take a use in the form of. This class owner can create language files using PHP-DS and can use different methods for each language. that is, a method can have more than one use. when writing a code above in an English language using this class, when a Turk uses the same class file_upload :: file ($ file); code. Also, an English "Warning: file type is not supported!" a Turk using the same class "Attention: the file type is not supported." a German, "Vorsicht: dateityp wird nicht unterstützt." you can get the same output as.

  • Maybe

People would still be keeping a more accountable book. a software like excell has provided language support and even the people in the very large age group have become interactive and have incorporated them.

  • On the interface

What is the interface? The concept of an interface is not limited to graphical interfaces. Although graphical interfaces make the end user's work easier, it is inadequate for "intermediate" members which is a new concept today. Araelemenlar, one of the users who like the end users who use the program one click above; a class that is one click away from code generators. Araelemenlar uses the code producers' products to address the end user. Wordpress is a code generator. One person who uses WordPress methods when preparing a template for Wordpress is Araeleman. At this point, the code generators are separate from the graphical interfaces for the intermediate members, so that their products are more demanding; we need an interface development. With its interfaces, it can reach intermediate members from all walks of life, and ultimately reach the end user.

  Files folder image Files  
File Role Description
Files folder imageexamples (3 files, 1 directory)
Files folder imagePHP-DS (1 file, 2 directories)
Accessible without login Plain text file BENI-OKU.md Data Auxiliary data
Accessible without login Plain text file LIES-MICH.md Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  examples  
File Role Description
Files folder imageexample-lang (4 files)
  Accessible without login Plain text file beispiel.php Example Example script
  Accessible without login Plain text file example.php Example Example script
  Accessible without login Plain text file ornek.php Example Example script

  Files folder image Files  /  examples  /  example-lang  
File Role Description
  Accessible without login Plain text file DE.php Conf. Configuration script
  Accessible without login Plain text file EN.php Conf. Configuration script
  Accessible without login Plain text file TR.php Conf. Configuration script
  Accessible without login Plain text file ZH.php Conf. Configuration script

  Files folder image Files  /  PHP-DS  
File Role Description
Files folder imagecore (2 files)
Files folder imagelang (4 files)
  Accessible without login Plain text file PHP_DS.php Example Example script

  Files folder image Files  /  PHP-DS  /  core  
File Role Description
  Plain text file bagimliliklar.php Class Class source
  Plain text file CORE_1-1-0.php Class Class source

  Files folder image Files  /  PHP-DS  /  lang  
File Role Description
  Accessible without login Plain text file DE.php Aux. Auxiliary script
  Accessible without login Plain text file EN.php Aux. Auxiliary script
  Accessible without login Plain text file TR.php Aux. Auxiliary script
  Accessible without login Plain text file ZH.php Aux. Auxiliary script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:159
This week:0
All time:8,486
This week:400Up