Create translate_lib.php
Added - used by Translate_lib
Add Spanish American
Test change.

Signed-off-by: ulisse73 <lorenzo.sanzari@alice.it>
Added application/language/italian folder and files
Merge pull request #2 from ci-bonfire/develop

merge with current ci-bonfire source
updated comments
Merge pull request #994 from boblennes/develop

Translation Module Enhancements - part 1 of 2
Merge pull request #3 from ci-bonfire/develop

Merge pull request #994 from boblennes/develop
A possibly hacky method to force the user's language setting to be used for the application and users language files.

This works by simply reloading the application and users language files since they are loaded by the Auth library prior
to setting our current user and determining which language to display.

Partial fix for #993
Slight performance tweak on the reloading of language files. This should stop the reloading of the English versions of the files the second time around.
A different take on the early-loading language issue. This time using sessions to store current language.
Enhanced Translate Module
- improved UI
- incorporated new translate_lib for instant translations via Google
- fixed error when having lang files in main app folder
Merge pull request #996 from boblennes/develop

Enhanced Translation module - part 2 of 2
Dang editor updates....
Translate Cleanup

Controller:
- Removed closing PHP tag from file
- Moved check for save earlier in the edit method, since it's shorter
and redirects on success
- Removed the return from the translate section and duplicate
Template::set() statements
- Added some braces for clarity in control structures
- Simplified some ternary statements by reversing the order/removing
negation (isset() ?: vs. !isset() ?:)
Views:
- reduce need to change older themes while maintaining updated
appearance of translate views
- use table for edit page to remove need for extra script to handle
checkboxes
JS:
- Removed strict errors: anonymous function does not always return a
value (in beforeunload event) and invalid scope for function definition
(is_changed())
Helper:
- Updated file opening header for generated lang files
Library:
- Updated translate method to use $this->ci instead of defining its own
$ci variable and getting another instance.
- Formatting
- Removed closing PHP tag from end of file
Builder: is_writable() and mkdir_recursive()

- Changed writeable to writable, per
http://www.php.net/manual/en/function.is-writeable.php (is_writeable()
is an alias of is_writable() to compensate for common typo/spelling)
- Deprecated mkdir_recurisve function, though, since it is private, it
can probably be removed.
- Changed use of 0777 to DIR_WRITE_MODE and check to ensure the constant
is defined (load the constants config file if it is not)
Translate: Fix handling of "Other" selection
Fix #709: Language file update on create context

Add the language key for the new context. Currently only updates the
English application_lang file
Update changelog for previous commit