https://github.com/mustafa-kamel/multilingual
This script can handle the operation of retrieving data from the locale files easily for the current language registered in session by passing a string like 'blog.post.title' while blog is a directory and post is file and title is the key for the string to retrieve. Of course you can pass any length of string following this criteria 'dir.dir.dir.file.key'. dir: is a directory name. file: is a file name without the php extension. key: is the key of the element to retrieve from the file. All files should have the php extension and return an array of key:value elements.
https://github.com/mustafa-kamel/multilingual
locales-translation localization multilingual-websites php
Last synced: about 1 year ago
JSON representation
This script can handle the operation of retrieving data from the locale files easily for the current language registered in session by passing a string like 'blog.post.title' while blog is a directory and post is file and title is the key for the string to retrieve. Of course you can pass any length of string following this criteria 'dir.dir.dir.file.key'. dir: is a directory name. file: is a file name without the php extension. key: is the key of the element to retrieve from the file. All files should have the php extension and return an array of key:value elements.
- Host: GitHub
- URL: https://github.com/mustafa-kamel/multilingual
- Owner: mustafa-kamel
- License: mit
- Created: 2018-03-07T18:40:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-19T00:01:28.000Z (over 4 years ago)
- Last Synced: 2025-02-03T10:12:14.003Z (over 1 year ago)
- Topics: locales-translation, localization, multilingual-websites, php
- Language: PHP
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0