All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.netbeans.modules.i18n.wizard.package.html Maven / Gradle / Ivy




I18N Wizards

This package contains two wizards: Internationalization wizard ("IW") and Test Internationalization wizard ("TIW"). Implementation is based on regular expressions ("RE") matching.

IW gathers from a user a set of files to internationalize and then identifies using RE hardcoded strings and prepares in-memory map of HardCodedStrings to I18nStrings. User can customize it (remove a mapping or customize default I18nString).

TIW gathers from a user a set of files that are RE scanned for internationalized strings. It extracts internationalizizes string keys and their bundles (actually user must identify bundles, i.e. one file cannot use more bundles) and then it scans bundles for the keys. Any missing keys are reported.

Code Paths

IW I18nWizardAction creates I18nWizardDesctiptor populated by SourceWizardPanel, ResourceWizardPanel, AdditionalWizardPanel and HardStringWizardPanel then shows it.

TIW I18nTestWizardAction creates I18nWizardDesctiptor populated by SourceWizardPanel.Panel(true), ResourceWizardPanel.Panel(true) and TestStringWizardPanel then shows it.

Some panels are self swapping to ProgressWizardPanel see doLongTimeChanges() methods.

Data Flow

All wizard gathered data are passed using a map class created by Util. Map content is transferred using wizard settings.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy