1 (edited by chris9902 2005-05-06 15:52)

Topic: language packs

I have started work on a CMS and I want it to be able to use many languages like any other product.

But how do you create these?

The best way i can think is use define() and do something like define("lang_Delete", "Delete", true); and then call "lang_delete" when i need it.

Does this make sense, if anyone has a better idea please post.

Re: language packs

Well, the way IC does it is to have an array storing the data: take a look at it wink

Re: language packs

That sounds better. something like $lang['name'], I do this with my config settings so I think it could work. Thanks