When aligning multiple files there is no "Language to extract:" menu in the dialog.

If I want to align multiple files there is no "Language to extract:" menu in the dialog. It is only there for one file at a time. How can I align all the files at once?

Parents
  • I would assume that then the language setting in the project doesn't match the language in file or the corresponding file naming convention. Would be helpful to get a test sample with some files to be aligned.
  • I'm also struggling with the same problem right now. I look forward to hearing what solution you offer David. Fortunately, I'm only dealing with 133 files, not 1100, so I can do it one-by-one in the meantime.
  • Maybe my previous post was not clear enough. It is possible to align all files in one single step, but there are 2 pre-requisites:

    • The project must be setup in a way that the target path and file name in the project is pointing to the translated files on your hard drive
    • If the resource files support internal language tags that are read by Passolo (i.e. from a DLL) the language tags in the resource ile must match the project target languages
  • (David, please shout if you feel like I'm hijacking your thread.)

    Thanks for following up, Achim.

    After much fiddling I now have the target path and file name settings the way Passolo wants them, so I think I've taken care of your first bullet point.

    But now I'm getting a "Target language not found" error when I try to run Scan Target File (Alignment) on all of the files. When I do one individually, on the Alignment dialog in the Language to extract dropdown I'm offered two choices:

    • neutral
    • Japanese

    Does this mean that Passolo thinks my files contain another "neutral" language in addition to Japanese? The language is declared in this section at the top of each .RC file:

    /////////////////////////////////////////////////////////////////////////////
    // Japanese resources
    
    #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN)
    #ifdef _WIN32
    LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
    #pragma code_page(932)
    #endif //_WIN32

    In the Passolo project I have specified the target language as Japanese and the code page as 932.

    Some background on my project:

    • Japanese is the only target language.
    • I am working with .RC files, no .DLLs.
  • After analyzing the issue in more detail it was found that the language tag in the translated resource files which is “Japanese (Japan)” doesn’t match the target language in the Passolo project which was “Japanese”. Changing the project target language from “Japanese” to “Japanese (Japan)” solved the problem and all files could be aligned in one single step.

    The languages supported in SDL Passolo are based on the language codes created by Microsoft that are used in various operating systems and other products like the .NET Framework. As Passolo is just using these publicly known language codes it doesn’t provide any documentation about it.

    This also shows the importance of liaising with you internal developers and localization engineers to get the right information to correctly setup your projects.
Reply
  • After analyzing the issue in more detail it was found that the language tag in the translated resource files which is “Japanese (Japan)” doesn’t match the target language in the Passolo project which was “Japanese”. Changing the project target language from “Japanese” to “Japanese (Japan)” solved the problem and all files could be aligned in one single step.

    The languages supported in SDL Passolo are based on the language codes created by Microsoft that are used in various operating systems and other products like the .NET Framework. As Passolo is just using these publicly known language codes it doesn’t provide any documentation about it.

    This also shows the importance of liaising with you internal developers and localization engineers to get the right information to correctly setup your projects.
Children