On Tue, Jun 22, 2010 at 2:08 AM, Narendra Padala <[email protected]> wrote:
> (..)
> I dont know wat to use. i18n, p28n or l10n.
> I even dont the difference between them.

i18n and l10n are acronyms for the words "internacionalization"
(letter "i", 18 letters, letter "n") and "localization" (you guess it).

Internacionalization is a term referent to language, while
localization is related to other specific locale stuffs, like
numbers, currency, etc.

p28n is the name of a component to help you to get persistent
internacionalization.  (Personally, as you are new to Cake, I don't
recomend you to use it for now).

> I was read the below articles but i didn't get,
>
> http://book.cakephp.org/view/163/Localization-in-CakePHP

Well, to get a multilanguage site, start with the article in the
link above.  Enclose all text messages in your code with
gettext functions (for now I mean, use __('My message') instead
of 'My message'), save a .po file in the proper local and set
you default language in the Config.language configuration
entry.

Cake can generate .po files for you when you run: cake i18n extract

Best regards.

-- 
MARCELO F ANDRADE
Belem, Amazonia, Brazil

"I took the red pill"

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to