List:Eventum Development« Previous MessageNext Message »
From:Georger Araujo Date:July 14 2009 1:52pm
Subject:Re: New Localization: class.language.php: Preferences Page: Available Languages:
View as plain text  
Hi Brian,
You should add an entry for Japanese in the $avail_langs array in
include/class.language.php . In 2.2, it starts in line 47.
Regards,

Georger

--- Em ter, 14/7/09, Bryan Alsdorf <bryan@stripped> escreveu:

> De: Bryan Alsdorf <bryan@stripped>
> Assunto: Re: New Localization: class.language.php: Preferences Page: Available
Languages:
> Para: "Brian LaVallee" <brian.lavallee@stripped>
> Cc: eventum-devel@stripped
> Data: Terça-feira, 14 de Julho de 2009, 2:41
> Hi Brian,
> 
> Brian LaVallee wrote:
> > Hi Bryan,
> > 
> > I have been having issues getting a new locale to show
> up in the user
> > preferences.  The new language is not ALWAYS
> available.
> > 
> > It did take a while to get the naming and permissions
> right, but I found
> > that the following will work.
> > 
> > path_to_eventum/misc/localization/ja_JP.po
> >
> path_to_eventum/misc/localization/ja_JP/LC_MESSAGES/eventum.mo
> > 
> > In path_to_eventum/include/class.language.php there is
> a comment that says,
> > "Note that the locales are first tested before they
> are listed as choices in
> > Preferences page."
> > 
> > Can you provide me with a little information about
> what is tested?  I
> > suspect that the locale test is not always
> succeeding.
> > 
> > While I only have about 25% translated, it is useful
> to see what has been
> > completed so far to make corrections.  Is that
> part of my problem?
> 
> Yeah sorry we don't have more documentation on this,
> localization is a major pain.
> 
> Have you tried adding debugging to Language::set()? On the
> preferences page we run through  all the languages set
> in $avail_languages and test if they are valid. I assume you
> have the locale installed on your computer? What OS is it?
> 
> Best Regards,
> -- Bryan Alsdorf, Lead Web Developer
> Monty Program, AB. http://askmonty.org
> 
> -- Eventum Developers Mailing List
> For list archives: http://lists.mysql.com/eventum-devel
> To unsubscribe:    http://lists.mysql.com/eventum-devel?unsub=1
> 
> 


     
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
Thread
New Localization: class.language.php: Preferences Page: AvailableLanguages:Brian LaVallee14 Jul
  • Re: New Localization: class.language.php: Preferences Page: AvailableLanguages:Bryan Alsdorf14 Jul
    • Minor Issue : Eventum 2.3.2 RC1: UPGRADE from 2.2: Workflow Backend:APP_INC_PATH: Leading Slash:Brian LaVallee5 Mar
      • Eventum 2.3.2 RC1: UPGRADE from 2.2: Release Conflict:lib/eventum/workflow/class.release.phpBrian LaVallee5 Mar
      • Re: Minor Issue : Eventum 2.3.2 RC1: UPGRADE from 2.2: Workflow Backend:APP_INC_PATH: Leading Slash:Elan Ruusam√§e10 Mar
Re: New Localization: class.language.php: Preferences Page: Available Languages:Georger Araujo14 Jul