![]() |
PhpBotFramework
2.0.2
A framework for Telegram Bots' APIs.
|
Handle localizations files, load them from disk. More...
Public Member Functions | |
| bool | loadAllLanguages (string $dir='./localization') |
Load all localization files (like JSON) from a folder and set them in $local variable. More... | |
| bool | loadCurrentLocalization (string $dir='') |
| setLocalizationDir (string $dir) | |
| Change source directory for localization files. More... | |
Protected Member Functions | |
| bool | loadSingleLanguage (string $lang='en', string $dir='./localization') |
Protected Attributes | |
| $local | |
| $localization_dir = './localization' | |
| Source for localization files. | |
Handle localizations files, load them from disk.
handler
1.8.13