This is a simple function, but it is often used in development .. for example, you want to display the UC browser when the system is in English... maybe you have searched for vs settings and cannot find such options .. it is very troublesome to implement it .. for solutions officially provided by Microsoft, please refer:How to localize the title of a Windows Phone applicationAfter reading it, do you think it is very troublesome and cumbersome? The world is so unpredictable... there will always be one or two people who help us improve our development experience.
Someone abroad wrote a WP7 appreslib DLL generator to help us generate language resources DLL original address: http://engine-designs.com/wp7-appreslib-dll-generator.html program WP7 appreslib DLL Generator
Usage:
1. Edit the XML file, as I wrote below ..
<Projects> <project name = "sdict"> <language name = "neutral"> <apptitle> sdict </apptitle> <tiletext> sdict </tiletext> </language> <language name = "English (United States) "localeid =" 0409 "> <apptitle> sdict </apptitle> <tiletext> sdict </tiletext> </language> <language name =" Chinese-RPC "localeid =" 0804 "> <apptitle> super dictionary </apptitle> <tiletext> super dictionary </tiletext> </language> </Project> </Projects>
2. Drag the XML file directly to wp7appreslib.exe. Then the corresponding file will be generated.
3. Copy all to the project root directory, that is, the directory where app. XAML is located, and "add existing items" to the project. View the attributes and set all the generation operations to "content ".
4. Modify wmappmanifest. XML to replace the following two places:
<App Title="@AppResLib.dll,-100"…
<Tokens><PrimaryToken ...><TemplateType5>... <Title>@AppResLib.dll,-200</Title>... </TemplateType5></PrimaryToken></Tokens>
Now we're done!