Adding your own language |
![]() ![]() ![]() |
To add your own language you have to create new language file in fpp/lang. To do that just copy the previous en.lang.php file and rename to ##.lang.php , where ##- two letter country code, e.g. French- fr.lang.php. After that you have to translate right part of php file to the language selected. Syntax: $l ['var_name'] = 'string' Example: $l ['file_permissions'] = 'File Permissions'; should be in French: $l ['file_permissions'] = 'File Permis';
Example: Don't=don\'t ‘configure the "MySQL" server‘=‘configure the \"MySQL\" server ‘ Change language value in the config file: language= fr |