Skip to main content
Sonamu UI provides functionality to export and import i18n dictionaries as Excel files. Translators or planners can work in spreadsheets and apply changes all at once.

Excel Export

Exporting from Sonamu UI

  1. Access Sonamu UI (http://localhost:1028/sonamu-ui)
  2. Click i18n in the left menu
  3. Click the Export button in the top right
  4. Download the Excel file

Excel File Structure

ColumnDescription
keyDictionary key
sourceentity (auto-extracted) or project (manually written)
ko, en, …Translation values for each locale

Excel Import

Importing After Translation Work

  1. Perform translation work in the exported Excel file
  2. Click the Import button on the i18n page in Sonamu UI
  3. Select the Excel file
  4. Review and apply the changes

Import Behavior

sourcedefaultLocale (ko)Other locales (en)
entityUpdates entity.jsonSaved to en.ts
projectSaved to ko.tsSaved to en.ts
The defaultLocale values for entity source directly modify the Entity’s title, prop.desc, and enumLabels.

Translation Workflow

  1. Development phase: Only write defaultLocale (ko) labels when defining Entities
  2. Translation phase: Excel export -> Deliver to translation team -> Import after translation is complete
  3. Maintenance: Repeat the same process when adding new keys

Handling Function Values

Function values are preserved as-is in Excel:
keyko
common.results(count: number) => \$개 κ²°κ³Όβ€œ
validation.required(field: string) => \$은(λŠ”) ν•„μˆ˜β€œ
During import, arrow function patterns ((...) => ...) are automatically detected and saved as functions.

Important Notes

  • Key changes: Changing an existing key adds it as a new key; the original key is retained
  • Key deletion: Deleting a row in Excel does not remove it from the existing dictionary
  • Source change not allowed: Changes from entity to project are ignored
  • Empty values: Empty cells are ignored (the key is not removed from that locale)