Skip to content

Transform ResX files into strongly typed classes via T4

Notifications You must be signed in to change notification settings

Weingartner/I18N.Reactive

 
 

Repository files navigation

I18N.Reactive

Transform ResX files into strongly typed classes via T4 that can be updated at runtime,

##Download

Getting started

  • Create a new *.resx file
  • In the properties window, set CustomTool to I18NReactive
  • Right-click on the *.resx file and click "Run custom tool"
  • In your *.xaml file, create a new resource:
    <ObjectDataProvider x:Key="T9N" ObjectType="p:Resources" MethodName="GetInstance" />
  • Bind an XAML property to a translation:
    <TextBlock Text="{Binding Source={StaticResource T9N}, Path=Greetings}"/>

About

Transform ResX files into strongly typed classes via T4

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 79.6%
  • HTML 15.1%
  • PowerShell 5.2%
  • Batchfile 0.1%