PHP Multilingual Support Library: Translate texts for Web sites from JSON or DB

Recommend this page to a friend!
  Info   View files Example   View files View files (57)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-02-22 (6 days ago) RSS 2.0 feedStarStarStarStar 68%Total: 439 This week: 7All time: 6,183 This week: 44Up
Version License PHP version Categories
multilingual-library 1.0.18GNU Lesser Genera...5.3.0Localization, PHP 5, Databases
Description Author

This package can translate texts for Web sites from JSON files or a database using PDO, MySQL or MySQLi extensions.

There is a class that can detect the user language by either checking the HTTP Accept request header or looking up the country of the user based on the IP address and then looking up the official language of that country.

The user language can also be retrieved from a request parameter named lang.

Another class can read the application texts for the user language from JSON files.

An alternative version can retrieve the application texts from a MySQL database accessed using PDO.

Picture of mohammad anzawi
  Performance   Level  
Name: mohammad anzawi <contact>
Classes: 2 packages by
Country: Jordan Jordan

Details

logaty

Multi Language Library which can help you rapidly develop your next Multilingual Website It has a lot of useful components to reduce the burden of create a Multilingual website for your next website.

full documentation https://anzawi.github.io/logaty-docs/

  Files folder image Files  
File Role Description
Files folder image.idea (4 files, 1 directory)
Files folder imageassets (1 directory)
Files folder imageConfig (7 files)
Files folder imagecore (2 files)
Files folder imageinc (1 directory)
Files folder imagelanguages (5 files)
Files folder imagelocal (1 directory)
Files folder imageLogaty (2 files, 2 directories)
Files folder imagetests (3 files, 1 directory)
Files folder imagevendor (1 file, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  .idea  
File Role Description
Files folder imagecopyright (1 file)
  Accessible without login Plain text file deployment.xml Data Auxiliary data
  Accessible without login Plain text file logaty.iml Data Auxiliary data
  Accessible without login Plain text file modules.xml Data Auxiliary data
  Accessible without login Plain text file workspace.xml Data Auxiliary data

  Files folder image Files  /  .idea  /  copyright  
File Role Description
  Accessible without login Plain text file profiles_settings.xml Data Auxiliary data

  Files folder image Files  /  assets  
File Role Description
Files folder imageswitch-templates (2 files)

  Files folder image Files  /  assets  /  switch-templates  
File Role Description
  Accessible without login Plain text file select.php Example Example script
  Accessible without login Plain text file ul.php Example Example script

  Files folder image Files  /  Config  
File Role Description
  Accessible without login Plain text file code.php Aux. Auxiliary script
  Accessible without login Plain text file direction.php Aux. Auxiliary script
  Accessible without login Plain text file enabled.php Aux. Auxiliary script
  Accessible without login Plain text file flag.php Aux. Auxiliary script
  Accessible without login Plain text file name.php Aux. Auxiliary script
  Accessible without login Plain text file options.php Aux. Auxiliary script
  Accessible without login Plain text file paths.php Aux. Auxiliary script

  Files folder image Files  /  core  
File Role Description
  Accessible without login Plain text file detect_visitor_language.php Example Example script
  Accessible without login Plain text file init.php Conf. Configuration script

  Files folder image Files  /  inc  
File Role Description
Files folder imageclasses (1 directory)

  Files folder image Files  /  inc  /  classes  
File Role Description
Files folder imageLibs (1 directory)

  Files folder image Files  /  inc  /  classes  /  Libs  
File Role Description
Files folder imagePhptricks_Database (5 files)

  Files folder image Files  /  inc  /  classes  /  Libs  /  Phptricks_Database  
File Role Description
  Accessible without login Plain text file composer.json Data Auxiliary data
  Accessible without login Plain text file config_function.php Aux. Auxiliary script
  Accessible without login Plain text file Database.php Class Class source
  Accessible without login Plain text file database_config.php Aux. Auxiliary script
  Accessible without login Plain text file README.md Example Example script

  Files folder image Files  /  languages  
File Role Description
  Accessible without login Plain text file ar.json Data Auxiliary data
  Accessible without login Plain text file default.json Data Auxiliary data
  Accessible without login Plain text file de_DE.json Data Auxiliary data
  Accessible without login Plain text file en-US.json Data Auxiliary data
  Accessible without login Plain text file te-TE.json Data Auxiliary data

  Files folder image Files  /  local  
File Role Description
Files folder imagelanguages (2 directories)

  Files folder image Files  /  local  /  languages  
File Role Description
Files folder imagear (1 file)
Files folder imageen (1 file)

  Files folder image Files  /  local  /  languages  /  ar  
File Role Description
  Accessible without login Plain text file home.php Aux. Auxiliary script

  Files folder image Files  /  local  /  languages  /  en  
File Role Description
  Accessible without login Plain text file home.php Aux. Auxiliary script

  Files folder image Files  /  Logaty  
File Role Description
Files folder imageHelpers (4 files, 2 directories)
Files folder imageTranslate (1 file)
  Accessible without login Plain text file App.php Class Class source
  Accessible without login Plain text file start.php Example Example script

  Files folder image Files  /  Logaty  /  Helpers  
File Role Description
Files folder imageDetect (2 files)
Files folder imageSwitcher (3 files)
  Accessible without login Plain text file Config.php Class Class source
  Accessible without login Plain text file Detect.php Class Class source
  Accessible without login Plain text file Link.php Class Class source
  Accessible without login Plain text file Switcher.php Class Class source

  Files folder image Files  /  Logaty  /  Helpers  /  Detect  
File Role Description
  Accessible without login Plain text file Browser.php Class Class source
  Accessible without login Plain text file Country.php Class Class source

  Files folder image Files  /  Logaty  /  Helpers  /  Switcher  
File Role Description
  Accessible without login Plain text file ImportTemplate.php Class Class source
  Accessible without login Plain text file Select.php Class Class source
  Accessible without login Plain text file Ul.php Class Class source

  Files folder image Files  /  Logaty  /  Translate  
File Role Description
  Accessible without login Plain text file Translator.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imagehelpers (1 file)
  Accessible without login Plain text file DetectLanguageTest.php Class Class source
  Accessible without login Plain text file LinkTest.php Class Class source
  Accessible without login Plain text file TranslatorTest.php Class Class source

  Files folder image Files  /  tests  /  helpers  
File Role Description
  Accessible without login Plain text file MainHelpersTest.php Class Class source

  Files folder image Files  /  vendor  
File Role Description
Files folder imagecomposer (8 files)
  Accessible without login Plain text file autoload.php Aux. Auxiliary script

  Files folder image Files  /  vendor  /  composer  
File Role Description
  Accessible without login Plain text file autoload_classmap.php Aux. Auxiliary script
  Accessible without login Plain text file autoload_files.php Aux. Auxiliary script
  Accessible without login Plain text file autoload_namespaces.php Aux. Auxiliary script
  Accessible without login Plain text file autoload_psr4.php Aux. Auxiliary script
  Accessible without login Plain text file autoload_real.php Class Class source
  Accessible without login Plain text file autoload_static.php Class Class source
  Accessible without login Plain text file ClassLoader.php Class Class source
  Accessible without login Plain text file LICENSE Lic. License text

 Version Control Unique User Downloads Download Rankings  
 70%
Total:439
This week:7
All time:6,183
This week:44Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:68%StarStarStarStar
Rank:554
 
very good
4 years ago (muabshir)
70%StarStarStarStar
 

For more information send a message to info at phpclasses dot org.