Using .Tr()
Syntax
string result = key.Tr(tableName);Parameters
Return Type
Examples
With Table Name
string title = "menu.title".Tr("UI");
string description = "item.apple.desc".Tr("Items");Without Table Name
// Uses default table (if configured)
string text = "common.ok".Tr();Implicit Conversion
Explicit Value Access
Chaining with Other Methods
Performance Notes
Common Patterns
UI Text Assignment
Dynamic Content
Conditional Text
Last updated