Skip to content

codingdotlog/phplanguageclass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

PHP Language Translate Class

Build Status

With this class, you can print your data warehouse model in your system by converting it from your sizing table. When this class is first loaded, the translations in the table can be used repeatedly in the db for reuse within the page.

Tech

  • PHP

Usage

$lang = new Lang();

echo $lang->Translate("LOGIN");
echo $lang->Translate("USERNAME");
echo $lang->Translate("PASSWORD");

DB Table

CREATE TABLE `language` (
  `ID` int(11) NOT NULL,
  `FIELD` text COLLATE utf8_turkish_ci NOT NULL,
  `TR` text COLLATE utf8_turkish_ci NOT NULL,
  `EN` text COLLATE utf8_turkish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_turkish_ci;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages