"only keys that are not satisfied in the current locale" IIRC that should already happen by default, even without any "show_translation_keys" option.... if my last refactories didn't wipe it out :-)
Please, let me know ciao dd On Wed, Jan 19, 2011 at 5:23 PM, Donald R. Ziesig <[email protected]> wrote: > Domizio ! > > Got it! Yes this is the right way to help in the translation. > > One potential improvement (at least as I see it ;-) ) : Is it possible > to add an *option* so that only keys that are not satisfied in the current > locale are shown? That way, the developer/translator would be able to tell > at a glance what was left to be done on any given page. > > Thanks, > > Don > > On 1/18/2011 5:20 PM, Domizio Demichelis wrote: > > The ht method has been deeply refactoried many times. > > HOBO_VERBOSE_TRANSLATIONS was just filling your log with ALL keys and > values, without really be of any help, so I removed it > > HOBO_SHOW_LOCALE_KEYS has been substituted by the > config.hobo.show_translation_keys. > > The output is better because it shows you also the fallbacks, besides it is > dryml/erb friendly (i.e. plain text, not tags that mess the parsing up) > > ciao > dd > > > > On Tue, Jan 18, 2011 at 6:08 PM, Donald R. Ziesig <[email protected]>wrote: > >> I give up! How can I enable these options? >> >> >> On 1/18/2011 5:03 PM, Domizio Demichelis wrote: >> >> indeed I removed all the globals related to locale keys in 1.3... there is >> only the config option and the result is better. >> >> ciao >> dd >> >> On Tue, Jan 18, 2011 at 5:58 PM, Donald R. Ziesig <[email protected]>wrote: >> >>> Hi Scorpio! >>> >>> Yes (without the typo, too) ;-) . It has no effect, unless I am looking >>> it the wrong place. The locale data is supposed to show up in the log, >>> correct? >>> >>> Don >>> >>> >>> On 1/18/2011 2:07 PM, Scorpio wrote: >>> >>>> Have you tried "HOBO_SHOW_LOCALE_KEYS = ture" without the quotes? >>>> >>>> On Jan 18, 5:53 pm, "Donald R. Ziesig"<[email protected]> wrote: >>>> >>>>> Hi All! >>>>> >>>>> The hobo cookbook shows a pair of environment variables that enable >>>>> debugging of internationalization. >>>>> >>>>> HOBO_VERBOSE_TRANSLATIONS >>>>> HOBO_SHOW_LOCALE_KEYS >>>>> >>>>> I have these set in the environment, but they do not have any effect >>>>> (RoR 3.0.3, Hobo 1.3). >>>>> >>>>> I remember seeing something that said these were replaced by something >>>>> in config.??? but I'll be *^%&^% if I can find it again. >>>>> >>>>> I tried: >>>>> >>>>> config.hobo_verbose_translations = true >>>>> config.hobo_show_locale_keys = true >>>>> >>>>> which apparently compiled correctly (no errors and website ran >>>>> properly) >>>>> but again there does not seem to be anything translation-related in the >>>>> log. >>>>> >>>>> How can I get the keys and translations in the log so I don't have to >>>>> randomly try different keys, etc. >>>>> >>>>> Thanks, >>>>> >>>>> Don Ziesig >>>>> >>>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Hobo Users" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]<hobousers%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/hobousers?hl=en. >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Hobo Users" 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/hobousers?hl=en. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Hobo Users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<hobousers%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/hobousers?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" 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/hobousers?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<hobousers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/hobousers?hl=en. > -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
