Мод простенький и перевести нужно несколько строк, но как грамотно перевести ошибки?
Вот собственно сам код
Код: Выделить всё
$lang = array_merge($lang, array(
'ERROR_TITLE400' => '400 Bad Request',
'ERROR_TITLE401' => '401 Authorization Required',
'ERROR_TITLE403' => '403 Forbidden',
'ERROR_TITLE404' => '404 Not found',
'ERROR_TITLE500' => '500 Internal Server Error',
'ERROR_BAD_REQUEST' => 'The request cannot be fulfilled due to bad syntax.',
'ERROR_AUTH_REQUIRED' => 'This server could not verify that you are authorized to access the document requested.',
'ERROR_FORBIDDEN' => 'You don\'t have permission to access the requested directory.',
'ERROR_NOT_FOUND' => 'The requested resource could not be found but may be available again in the future.',
'ERROR_SERVER_ERROR' => 'The server encountered an internal error or misconfiguration and was unable to complete your request.',
'ERROR_HELLO' => 'Hello',
));