Login   Register  
PHP Classes
elePHPant
Icontem

oLoc: Retrieve and edit internationalized texts

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Johan Barbier
Name: Johan Barbier <contact>
Classes: 17 packages by
Country: France France
Age: 42
All time rank: 412 in France France
Week rank: 121 Down5 in France France Down
Innovation award
Innovation award
Nominee: 6x


  Detailed description   Download Download .zip .tar.gz  
This package can be used to retrieve and edit internationalized application texts.

It consists of a run-time class and other classes and scripts for editing translations.

The run-time class that retrieves text translations from XML files.

It takes an identifier of a text to retrieve, the path of the directory of the translated text XML files, the text idiom and the default idiom in case the translated text is not defined for the specified idiom.

The editor classes and scripts provide an AJAX based interface for editing texts to translate applications for the different supported idioms.

It allows the used to enter the translation for each application text, or upload a whole translation template file which should be in the Excel format.

  Classes of Johan Barbier  >  oLoc  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: oLoc
Base name: oloc
Description: Retrieve and edit internationalized texts
Version: 1.0
PHP version: 3.0
License: GNU General Public License (GPL)
All time users: 781 users
All time rank: 3966
Week users: 0 users
Week rank: 1889 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Localization Internationalization and translations View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
December 2007
Number 5


Prize: One book of choice by Packt
Localization is the process of adapting software programs to the users local idiom and other details of each world country or region.

Localization often consists on translating the texts used in the messages presented to the users of the programs. Depending on the size of the application, the effort to localize it may not be trivial.

This package provides an AJAX based Web interface to help translating the texts used in PHP Web applications, thus reducing the localization efforts.

Manuel Lemos

  User ratings  
Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageajax (6 files)
Files folder imageclass (7 files)
Files folder imagecountries (2 files)
Files folder imagecss (1 file)
Files folder imageimg (3 files)
Files folder imageinc (1 file)
Files folder imagejs (2 files)
Files folder imagelocales (26 directories)
Files folder imagetemplates (1 file)
Files folder imagetmp (1 file)
Files folder imagewebsites (1 directory)
Accessible without login Plain text file back.office.php Appl. Back-Office application
Plain text file oloc.example.php Example oLocale class example
Plain text file readme.txt Doc. Documentation

  Files folder image Files  /  ajax  
File Role Description
  Plain text file ajax.back.office.add.constant.php Appl. Ajax script
  Plain text file ajax.back.office.del.constant.php Appl. Delete a translation
  Accessible without login Plain text file ajax.back.office.display.list.php Appl. Ajax script
  Plain text file ajax.back.office.get.websites.php Appl. Ajax script
  Accessible without login Plain text file ajax.back.office.update.toolz.menu.php Appl. Ajax script
  Plain text file ajax.back.office.update.value.php Appl. Ajax script

  Files folder image Files  /  class  
File Role Description
  Accessible without login Plain text file class.backoffice.php Class Back Office main class
  Accessible without login Plain text file class.genparser.php Class Back Office auxiliary class
  Plain text file class.localeException.php Class oLocale specific Exceptions
  Plain text file class.oLocale.php Class oLocale class
  Accessible without login Plain text file class.openoffice23htmlparser.php Class Soecific class for parsing HTML files from sCalc in OpenOffice
  Plain text file package.exceptions.errors.php Class Errors to Exceptions class
  Plain text file package.exceptions.php Class Exceptions class

  Files folder image Files  /  countries  
File Role Description
  Plain text file countries.xml Data Countries XML file
  Plain text file get.alpha.cn.php Aux. Function used to retrieve iso 3166-1 alpha codes

  Files folder image Files  /  css  
File Role Description
  Plain text file back.office.css Data Back Office css file

  Files folder image Files  /  img  
File Role Description
  Image file add16.png Icon Image
  Image file delete16.png Data Button
  Image file help32.png Icon Image

  Files folder image Files  /  inc  
File Role Description
  Plain text file inc.main.php Conf. Configuration file

  Files folder image Files  /  js  
File Role Description
  Accessible without login Plain text file back.office.js Data JS script
  Plain text file prototype.js Data Prototype library

  Files folder image Files  /  locales  
File Role Description
Files folder imageBEL (2 files)
Files folder imageBGR (2 files)
Files folder imageCHE (2 files)
Files folder imageCZE (2 files)
Files folder imageDNK (2 files)
Files folder imageENG (2 files)
Files folder imageESP (2 files)
Files folder imageEST (2 files)
Files folder imageFIN (2 files)
Files folder imageFRA (2 files)
Files folder imageGER (2 files)
Files folder imageGRC (2 files)
Files folder imageHRV (2 files)
Files folder imageHUN (2 files)
Files folder imageITA (2 files)
Files folder imageLITHUANIE (2 files)
Files folder imageLVA (2 files)
Files folder imageNLD (2 files)
Files folder imageNORVEGE (2 files)
Files folder imagePOL (2 files)
Files folder imagePRT (2 files)
Files folder imageROU (2 files)
Files folder imageRUSSIE (2 files)
Files folder imageSLOVENIE (2 files)
Files folder imageSUEDE (2 files)
Files folder imageSVK (2 files)

  Files folder image Files  /  locales  /  BEL  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  BGR  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  CHE  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  CZE  
File Role Description
  Plain text file err.xml Data localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  DNK  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  ENG  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  ESP  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  EST  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  FIN  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  FRA  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  GER  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  GRC  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  HRV  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  HUN  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  ITA  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  LITHUANIE  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  LVA  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  NLD  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  NORVEGE  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  POL  
File Role Description
  Plain text file err.xml Aux. Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  PRT  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  ROU  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  RUSSIE  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  SLOVENIE  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  SUEDE  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  locales  /  SVK  
File Role Description
  Plain text file err.xml Data Localized module
  Plain text file mx.xml Data Localized module

  Files folder image Files  /  templates  
File Role Description
  Plain text file template.xls Data Translation upload file template AFTER saving it as HTML

  Files folder image Files  /  tmp  
File Role Description
  Plain text file template_test.html Data Uploaded file after parsing

  Files folder image Files  /  websites  
File Role Description
Files folder imagewww.myweb.com (1 directory)

  Files folder image Files  /  websites  /  www.myweb.com  
File Role Description
Files folder imagelocales (27 directories)

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  
File Role Description
Files folder imageBEL (2 files)
Files folder imageBGR (2 files)
Files folder imageCHE (2 files)
Files folder imageCZE (2 files)
Files folder imagedefault (2 files)
Files folder imageDNK (2 files)
Files folder imageENG (2 files)
Files folder imageESP (2 files)
Files folder imageEST (2 files)
Files folder imageFIN (2 files)
Files folder imageFRA (2 files)
Files folder imageGER (2 files)
Files folder imageGRC (2 files)
Files folder imageHRV (2 files)
Files folder imageHUN (2 files)
Files folder imageITA (2 files)
Files folder imageLITHUANIE (2 files)
Files folder imageLVA (2 files)
Files folder imageNLD (2 files)
Files folder imageNORVEGE (2 files)
Files folder imagePOL (2 files)
Files folder imagePRT (2 files)
Files folder imageROU (2 files)
Files folder imageRUSSIE (2 files)
Files folder imageSLOVENIE (2 files)
Files folder imageSUEDE (2 files)
Files folder imageSVK (2 files)

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  BEL  
File Role Description
  Plain text file err.xml Data websites/www.myweb.com/locales/BEL/err.xml
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  BGR  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  CHE  
File Role Description
  Plain text file err.xml Data LOC
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  CZE  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  default  
File Role Description
  Plain text file err.xml Data Default module definition
  Plain text file mx.xml Data Default module definition

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  DNK  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  ENG  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  ESP  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  EST  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  FIN  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  FRA  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  GER  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  GRC  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  HRV  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  HUN  
File Role Description
  Plain text file err.xml Data loc
  Plain text file mx.xml Data loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  ITA  
File Role Description
  Plain text file err.xml Data loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  LITHUANIE  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  LVA  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  NLD  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  NORVEGE  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  POL  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  PRT  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  ROU  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  RUSSIE  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  SLOVENIE  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  SUEDE  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

  Files folder image Files  /  websites  /  www.myweb.com  /  locales  /  SVK  
File Role Description
  Plain text file err.xml Data Loc
  Plain text file mx.xml Data Loc

Download Download all files: oloc.tar.gz oloc.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.