Sunday, November 30, 2008

AW: how to translate the pagination words: "next" and "previous"

Hi Ahmed,

If you have these expressions only at one view that is the easiest solution. However: if you have a big application working with localization is cleaner.
It has the advantage, that you have all your GUI strings in one place and when you want to change one of them later you know where to look.

Greetings Anja

-----Ursprüngliche Nachricht-----
Von: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] Im Auftrag von ahmedhelmy007
Gesendet: Sonntag, 30. November 2008 21:34
An: CakePHP
Betreff: Re: how to translate the pagination words: "next" and "previous"


i found another easy way to translate the two words: "next" and "previous" , simply by passing the arabic word to the function as an
argument:

$paginator->prev("السابق");
$paginator->next("التالي");


On Nov 29, 6:05 pm, "Federico Rinaldi" <federicorina...@gmail.com>
wrote:
> You should use Localization:
>
> http://book.cakephp.org/view/162/Localizing-Your-Application
>
> And internationalization
>
> http://book.cakephp.org/view/163/Internationalization-in-CakePHP
>
> Regards,
>
> FedeX
>
> On Sat, Nov 29, 2008 at 10:07 AM, ahmed sabrah <ahmedhelmy...@gmail.com>wrote:
>
>
>
>
>
> > i'm new to cakePHP, and i need the pagination words : "next" and
> > "previous" to be translated into arabic.
> > should i search for an arabic language translation for the cakePHP ?
> > and if that is the case, can any one tell me where to download it ?
>
> > sorry for my bad english.- Hide quoted text -
>
> - Show quoted text -


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

No comments: