Function Parametrization
Turn static text into dynamic, translatable functions with variables. Double-click, define, done.
Get Started FreeWithout parametrization
With parametrization
How it works
Double-click any text card
In the Kanban board, double-click a text card to open the parametrize editor. The original text from Figma is shown with each word selectable.
Select the dynamic part
Click or drag to select the part of the text that should be a variable. For "Hello John", select "John". For "3 items", select "3".
Name the variable
Give it a meaningful name like {username} or {count}. BabelKit replaces the selected text with the variable placeholder.
Translators see the template
Translators get "Hello {username}" and translate around the variable. The SDK generates a type-safe function: greet(username: String) → String.
Variants for every scenario
One key can have multiple variants based on context.
Pluralization
Define zero, one, and other variants. "No items", "1 item", "{count} items" — all from a single key.
cart.items → zero: "No items" | one: "1 item" | other: "{count} items"Gender variants
Languages like French or Spanish need gendered text. Define masculine, feminine, and neutral forms for the same key.
welcome → male: "Bienvenu" | female: "Bienvenue"Platform-specific
Different wording for iOS vs Android. "Tap" on mobile, "Click" on desktop — same key, different output.
action.select → iOS: "Tap to select" | Android: "Touch to select"Length variants
Short version for compact UI, long version for full screens. The SDK picks the right one based on available space.
save → short: "Save" | long: "Save changes"Type-safe output in every SDK
Parametrized strings become real functions with typed parameters.
Stop hardcoding strings
Make every text dynamic, translatable, and type-safe.
Get Started Free