Windows Phone Phrase Setup
This guide describes how to set up your first project as well how to install and configure the Phrase Visual Studio Plugin.
- Add Project in Phrase
- Download Phrase Visual Studio plugin
- Set Project ID and Access Token in plugin settings
- Upload your locale files
- Add a new language
If you’re a novice in Windows Phone localization best practices, check out our blog post on the topic: How To Translate Apps In Visual Studio - a step-by-step tutorial that gets you started.
Note: this guide targets Windows Phone 8.1 apps, however, the same steps are applicable for Windows Grid and Hub apps (“Metro”), as well as Windows Universal Platform apps.
1. Set up Phrase Project
Sign in to the Phrase Translation Center and add a project, choose “Windows 8 Resource” as your main format.
2. Get and configure the Phrase plugin for Visual Studio
Visual Studio is the official IDE for Windows application development. We offer a plugin that connects VisualStudio and Phrase.
Go to the Tools > Extensions and Updates menu. In the Online > Visual Studio Gallery search for “Phrase” and download (and thereby install) it.
After installation the CLI client path must be configured in Tools > Options > PhraseApp. Give the full path, like for example
Additionally your project must have a Phrase configuration file named
.phraseapp.yml in its root directory. This file can be generated using the CLI tool. For additional configuration options see the Phrase client configuration page.
3. Up- and download locale files
After you installed and configured the plugin you’re ready to actually pull and push locale files from and to Phrase. In the “Tools” menu, you can find Phrase commands that trigger those actions according to your configuration file. The output of both operations will be sent to the Output toolwindow, that can be opened via View > Output, if not visible already.
4. Add a new language
You can add new languages by either creating a new locale file in your Windows Phone application and uploading the files using the Phrase plugin or by adding a new Locale in the Phrase Translation Center.
The locale name should be chosen according to the Windows Phone locale name constant convention (see MSDN Locales and Languages, e.g. “en-US” or “de-DE”).
Working with Phrase
Learn how to work efficiently with Phrase in our Getting Started guide.
Buying professional translations
Learn how to buy professional translation service for your projects.