Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

A simple UI translation engine for Windows Phone 8.1 Store Apps.

Notifications You must be signed in to change notification settings

dijeferson/WPTranslationEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Phone 8.1 Simple Translation Engine

A simple UI translation engine for Windows Phone 8.1 Store Apps that complies with the DRY (Don't Repeat Yourself) principle.

When using the regular resource manager to translate the app sometimes you need more than one constant for the same thing. Example: The case when you have a translation that needs to be reflected in a button and a textblock. In this case you will need a constant XXXXX.Content and XXXXXX.Text, both with the same translation.

With this simple engine all you need to do is:

  1. Create the translation constant in the resource file as a simple constant (neither .Text nor .Content needed).
  2. In your control, fill the Tag attribute with the translation constant.
  3. In the constructor of your view insert the call to the TranslationEngine.Translate(this)
  4. That's it.

About

A simple UI translation engine for Windows Phone 8.1 Store Apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages