Error message when placing translation in CodeIgniter

1

Does anyone know how to solve this:

  An Error Was Encountered: Unable to load the requested language file: language / english-brazilian / form_validation_lang.php

I followed the following steps to include the translation:

  • application -> language -> and put the portuguese-brazilian folder here
  • application -> config -> $config['language'] = 'portuguese-brazilian'; (after deleting english).
  •   

    Note: the form_validation_lang.php file is in the portuguese-brazilian folder.

        
    asked by anonymous 21.08.2015 / 22:33

    2 answers

    2

    I went through the same situation I decided to give permission to the language

    $ chmod -R 775 language
    
        
    01.07.2017 / 03:58
    0

    Your procedure is correct. In my case the portuguese zip that I downloaded was generating a folder structure from the application. Just go into the folder you created and see if there are the PHP files inside or if the zip generated the folder structure.

        
    18.10.2015 / 14:57