2017 © Pedro Peláez
 

codeigniter-module codeigniter-language

A CI spark making auto-detecting the proper language to serve easy.

image

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

The README.md

codeigniter-language

A CI spark making auto-detecting the proper language to serve easy., (*1)

Default auto detection flow

  1. Check the lang code in the subdomain. It's the master rule.
  2. Check the lang code in the first segment in URI.
  3. If no lang code is in subdomain or URI check the browser language if available and activated.
  4. 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)

The Versions

04/03 2014

dev-master

9999999-dev

A CI spark making auto-detecting the proper language to serve easy.

  Sources   Download

MIT

The Requires

 

04/03 2014

v1.0.0

1.0.0.0

A CI spark making auto-detecting the proper language to serve easy.

  Sources   Download

MIT

The Requires