info.magnolia.i18nsystem.tools
Class ToolingProxytoysI18nizer

java.lang.Object
  extended by info.magnolia.i18nsystem.proxytoys.ProxytoysI18nizer
      extended by info.magnolia.i18nsystem.tools.ToolingProxytoysI18nizer
All Implemented Interfaces:
I18nizer

public class ToolingProxytoysI18nizer
extends ProxytoysI18nizer

A I18nizer which keeps track of translation attempts and figures out new/replacement keys (for example if a configured key exists, it can suggest to remove the configuration and replace the key with a generated one).


Constructor Summary
ToolingProxytoysI18nizer(GeneratorResults genRes, Locale locale, TranslationService translationService)
          For manual invocations - see GenerateTranslationFilesImpl.
ToolingProxytoysI18nizer(TranslationService translationService, LocaleProvider localeProvider)
           
 
Method Summary
protected  info.magnolia.i18nsystem.tools.ToolingProxytoysI18nizer.LegacyMessage getLegacyMessage(Locale locale, String basename, String[] keys)
           
protected
<T> I18nTextMethodDecorator<T>
newI18nTextMethodDecorator(I18nKeyGenerator<T> keyGen)
           
 
Methods inherited from class info.magnolia.i18nsystem.proxytoys.ProxytoysI18nizer
decorate, decorateChild, decorateI18nTextMethods, decorateI18nTextMethods, injectParentableInterface, interceptGetters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolingProxytoysI18nizer

@Inject
public ToolingProxytoysI18nizer(TranslationService translationService,
                                       LocaleProvider localeProvider)

ToolingProxytoysI18nizer

public ToolingProxytoysI18nizer(GeneratorResults genRes,
                                Locale locale,
                                TranslationService translationService)
For manual invocations - see GenerateTranslationFilesImpl.

Method Detail

newI18nTextMethodDecorator

protected <T> I18nTextMethodDecorator<T> newI18nTextMethodDecorator(I18nKeyGenerator<T> keyGen)
Overrides:
newI18nTextMethodDecorator in class ProxytoysI18nizer

getLegacyMessage

protected info.magnolia.i18nsystem.tools.ToolingProxytoysI18nizer.LegacyMessage getLegacyMessage(Locale locale,
                                                                                                 String basename,
                                                                                                 String[] keys)


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.