Menu

FLP / News: Recent posts

Ticker 1.001 released

Fixed connection bug.
Folder to connect to can now be specified in the ticker_settings.ini file.
It is now possible to allow only authors to post, which appear in a whitelist that can be defined in the ticker_settings.ini file.
Added option to backup old messages to a MySQL database.

Posted by flaimo 2003-05-26

Ticker 1.000 released

First release of the new SMS/E-Mail Ticker classes. You can send an e-mail or a SMS from a cell phone to a specific e-mail address and it gets displayed on your homepage. Since my provider doesn't support the imap functions, i can't provide a sample page.

Posted by flaimo 2003-05-24

i18n 1.057 released

If the shmop extention is installed, shared memory can be used to store and read the settings from all the ini files. This way they dont have to be read with every pagecall. If you change something in one of those files you can set the $flush_sm variable in the I18N class to TRUE to reset the shared memory variables. The PHP functions for using shared memory are a bit of a pain to work with, but I try to use it more often in future releases. Maybe for caching even the translation strings since they are the same for every user anyway
The shared memory function is not enabled by default. For that you have to set the $use_shared_mem variable in the I18N class to TRUE. ... read more

Posted by flaimo 2003-05-09

i18n 1.056 released

Added an option to the i18n_settings.ini file which allows to turn of alias language checking. if you dont use it, it speeds thinks up a little.
Also shifted a bit of code to an abstract base class i18n and tweaked the getLastUpdate() Method a little bit.
Renamed the User class so it doesnt interfere with other classes that are commonly named User.

Posted by flaimo 2003-05-02

i18n 1.055 released

Changed a bit of the logic of the settings files. There is no currency.ini file any more, but therefore there is a l10n.ini file in each language folder which holds all the regional settings.
Also added a changeLocale method to the classes FormatDate, FormatNumber, FormatString and Measure.
Further added an option to the i18n_settings.ini file which allows to turn of locale checking every time a Translator object is created.

Posted by flaimo 2003-04-30

i18n 1.054 released

Added a lastupdate column to the database layout. If you want to cache your pages you can use this information to check if any translations of a selected file/namespace are newer than your cached page.

Posted by flaimo 2003-04-20

i18n 1.053 released

optimized the mysql modus. now a new column "namespace" is used to speed up things a little bit. if you use that modus you have to add that column to the translation table. see the documentation how that namespace thing works.
Also the way the INI file is read has been changed. instead of reading it everytime an object is created, it will only be read once per page and stored in a global variable

Posted by flaimo 2003-04-15

iCalendar 1.031 released

added the possibility to add allday events

Posted by flaimo 2003-03-29

i18n 1.051 released

Added some arabic example strings and added a FormatNumbers class for formating numbers, percent values and currencies...

Posted by flaimo 2003-03-24

i18n 1.050 released

1)
Added experimental support for UTF encoded translation files, which means that you can use char-sets other than ASCII now. The string functions are not really tested with UTF, but should work too.

As an example language I added Russian. Translated everything with babelfish again, so don't get mad at me if the spelling or grammar is all wrong :-). I also don't know the correct way of writing Russian date and time strings, so if you are from Russia, please e-mail me how to correct it.... read more

Posted by flaimo 2003-02-24

i18n 1.045 released

1)
It is now possible to include more than one translation file if you use modus "inc" or "gettext". To include more that one file write $object = new Translator('language','file1,file2,...'); when creating a new translation object.

Due the limitations of gettext you have to add the name of the language file where a translation-string can be found as a 2nd value when you use the _() function. But with the exeption, if the string is in the first file of the language file list, you don't have to include the filename. Example:... read more

Posted by flaimo 2003-02-22

i18n 1.044 released

Corrected small bug when detecting the user language.

Until now the getLang() function returned the raw locale instead of the language. I corrected this. So now there is a getCountry(), getLang() and a getLocale() function.

Also rewrote some parts of the code which resulted in a huge gain of speed. The example script now only takes about half of the time to generate, then it did with Version 1.043!

Posted by flaimo 2003-02-18

i18n 1.043 released

Rearranged some functions which results in a small gain in speed. Also renamed the project to flp-i18n, deleted most of the functions in the FormatString class and completely deleted the FormatLongString class which didn't have anything to do with i18n.

A demo site can be found now at http://www.flaimo.com/i18n_example_script.php

Posted by flaimo 2003-02-17

FLP 1.042b released

Corrected a bug concerning language preferences saved in cookies or session. Sadly the performance dropped a little bit because of that.

Posted by flaimo 2003-02-13

FLP 1.042 released

Some small new features:
There is a countLanguages and countStrings function in the ChooseLanguage class now.
And i've implemented the possibility to use alias languages. Let's say you have a language directory "en" with translation files in it and now you want another language directory "en_uk". Instead of translating everything again or copying the translation files from one directory to the other all the time you just place a file called "redirect" into the "en_uk" dir which contains the name of the original language folder (in this case "en").

Posted by flaimo 2003-02-11

looking for translators

i'm looking for volunteers to translate the basic FLP language files (date strings and measure strings) to their mother tongue. german and english should be correct, but for the others in the package, i'm not sure since I translated them with babelfish :-)
so, feel free to contact me at flaimo@gmx.net if you're interested.

Posted by flaimo 2003-02-08

iCalendar 1.030 released

No new features, but the code has been reorganized. All features that are used in more than one module are now located in a base class and all module classes are childs of that base class now.

Posted by flaimo 2003-02-08

FLP 1.040 released

Added support for storing the translations in a MySQL Database. I didn't do a performance test with the mysql modus, but it seems way slower than the other two options (gettext, inc files), even though translation requests are partly cached.
Also took care of a few minor bugs in the FormatDate class.

Posted by flaimo 2003-02-06

iCalendar 1.022 released

Minor Update: Added support for own UID for Event, ToDo, Journal and FreeBusy.

Posted by flaimo 2003-01-22

FLP 1.031b released

A minor update: Added option in the flp_settings.ini file to turn on/off error reporting if a string couldn't be translated

Posted by flaimo 2003-01-18

project start

moving from my personal webspace to sourceforge

Posted by flaimo 2003-01-06
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.