I want to make a language pack for Spanish.
I read the instruction how to do that:
-create fp-interface/lang/es-es
-copy content of en-us to es-es
and translate every file
for my first test, only (lang.conf.php, lang.comments.php, lang.contact.php, lang.default.php) done.
-create fp-plugins/(plugin)/lang/lang.es-es.php for each plugin. Already done (translated from en-us).
In the directory fp-interface/lang/es-es
I edited the file lang.conf.php to:
Code: Select all
<?php
$langconf = array();
$langconf['id'] = 'Español (es)';
$langconf['locale'] = 'es-es';
$langconf['charsets'][0] = 'utf-8';
$langconf['charsets'][1] = 'iso-8859-15';
?>
I selected this option and saved. Until there, all OK.
I get the config file on fp-content/config/settings.conf.php
Code: Select all
array (
'timeoffset' => '1',
'timeformat' => '%H:%M:%S',
'dateformat' => '%A, %B %e, %Y',
'dateformatshort' => '%Y-%m-%d',
'charset' => 'utf-8',
'lang' => 'es-es',
Code: Select all
Flatpress this page isn't working localhost is currently unable to handle this request. http error 500.
Everything is back to normal.
Change from EN To DE and back with no problem.
What am I doing wrong?