Download latest jCore Server and/or Client releases.
Browse third party modules or submit your own.
Help needed? Ask questions and get help asap.
Username: Password: Forget your password?

Status update for 0.5 release and Win $50

Fri, 22 Jan 2010 11:04:38 GMT by pijulius, 591 views

A lot has been done since the last release but still long way till the new 0.5 version but some of the new features already include API like system, Searchable Modules, Members Only option for Photo gallery and Shopping also Digital Goods for shopping (Download Store system). Read more to view the detailed list of upcoming features and win a Google AdWords promotional code worth of $50.

Read moreComments (6)

jCore 0.4 Released!

Sun, 13 Dec 2009 14:22:56 GMT by pijulius, 1158 views

Includes CCBill checkout, table prefixes to be able to use same db for multiple sites, block caching for sites under heavy load, picture watermarking and more.

Read moreComments (6)
View All

Multilanguage Support

Sun, 26 Jul 2009 07:57:04 BST by pijulius, 2882 views

 Multilanguage support by jCore is done using PHP's own gettext() and locale() functions. Every text that is written with jCore is translatable using this method, you just have to create your own messages.mo file and translation already works.

In the admin you can create as many language as you wish for your site and then define menu items for these languages. When creating a new language you will have to define the locale path for your messages.mo file, usually here you should write something like en_US and then your messages.mo file would go into locale/en_US/LC_MESSAGES/ directory.

To create a .mo file you first will have to create a .po file with the text and translations you want and then convert them to .mo files with the following command:
msgfmt messages.po -o messages.mo

There is always an example .po and .mo file in your jCore system so that should give you an exact idea of how to translate a phrase.

The messages.mo file usually is used for the site's content but for modules you can define different .mo files just to keep things clean, to do so just create a .mo file with the name of your module, for e.g. to translate photogallery.class.php you would have to create a .mo file named like photogallery.mo and that fill will be automatically loaded when module gets used.

Using the Languages section in the admin and the translation option with the messages.mo you should be able to create multiple language versions of your site with different contents and even the smallest bit of text translated.

Attachments
Example Contact Module (HU) Translation (.po) file (1 KB)
UTF-8 Unicode PO (gettext message catalogue) text, 186 downloads, uploaded on Mon, 24 Aug 2009
Example Contact Module (HU) Translation (.mo) file (1 KB)
GNU message catalog (little endian), revision 0, 13 messages, 115 downloads, uploaded on Mon, 24 Aug 2009
Comments (27)