Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question about Localization

Status
Not open for further replies.

PatCSharp

Programmer
Joined
May 3, 2006
Messages
5
Location
US
Once the default assembly(xxxxx.resx) is created from a localization project, how does one extract it from the project and send it out to be translated and how do you bring it back into the project?
 
For each culture you want added, you would add a new .resx file to your project (right-click, add new file..)

You would include the culture name in the name of the file. When you build, VS.NET will create a series of folders automatically, and your localized resource (satellite) assemblies will be put in there.
[tt]
MyApp.resx The neutral culture resource file
MyApp.en.resx The generic English resource file
MyApp.en-US.resx The US English resource file
MyApp.en-UK.resx The UK English resource file
MyApp.fr.resx The generic French resource file
MyApp.fr-CA.resx The French-Canadian resource file
[/tt]

The build will create these folders:
[tt]
.\debug\bin
.\en\debug\bin
.\en-US\debug\bin
.\en-UK\debug\bin
.\fr\debug\bin
.\fr-CA\debug\bin
[/tt]
which will contain the resources above as .dll assemblies. You should replicate this structure with your setup program on your target (user) PC if you're using XCopy-style deployment.

Chip H.

____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Chiph,

I fully understand the steps described above but there is still something that I am not getting which is the translation part. How do I "take" the (i.e., MyApp.fr.resx) and give it to a french person to translate and then incorporate it back into the project? Somewhere in the localization process, I have to hand a document or file over to a translator...what do I hand over and how do I do it?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top