codeigniter-module codeigniter-language
A CI spark making auto-detecting the proper language to serve easy.
jayalfredprufrock/codeigniter-language
A CI spark making auto-detecting the proper language to serve easy.
- Tuesday, March 4, 2014
- by jayalfredprufrock
- Repository
- 1 Watchers
- 0 Stars
- 103 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 2 Versions
- 2 % Grown
codeigniter-language
A CI spark making auto-detecting the proper language to serve easy., (*1)
Default auto detection flow
- Check the lang code in the subdomain. It's the master rule.
- Check the lang code in the first segment in URI.
- If no lang code is in subdomain or URI check the browser language if available and activated.
- As the last rule, set the lang code to the default one defined in the CI global config file.
Composer installation
If using composer to include this spark, note that composer/installers is used to place the spark within application/modules
so you'll either need to override this location, or change your default spark location., (*2)
Credit
Rewrite of the kitlang language spark by Eric@devtime.com, (*3)
dev-master
9999999-dev
A CI spark making auto-detecting the proper language to serve easy.
Sources
Download
MIT
The Requires
v1.0.0
1.0.0.0
A CI spark making auto-detecting the proper language to serve easy.
Sources
Download
MIT
The Requires