|
|||
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
||||||||||||||||
| importing .resx files - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support | |||||||||||||||||
| Author | Post | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
|
jkl Member
|
hi, is there an option some where in Sisulizer where you can select all .resx files in a speciffic folder incl. all subfolders, but omit all lang related files (sv/da/de/etc.) Just as if you are able to do when you select per file.... //jens
____________________ //jens |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
Hi Jens, You can select similar files with "Localize all similar files in a directory". I guess you tried that? I have (deep) in my mind that Sisulizer should ignore the language sub-dirs. But I can not recall the topic in the forum. Please give it a try. If it fails for resx please add a new thread to the wish list. Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
jkl Member
|
well - when it comes to .resx files, all the original as well as the lang specific files resides in the same folder, and that is why I want to omit the lang files.... //jens
____________________ //jens |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
I see. Hard to say which is which then. If they are in sub folders with language shortcuts Sisulizer can detect them easily. You could use Project - Add Source and use the multi-select option to add more than one .resx at the same time. Sure, it does not work recursive in sub-folders. But much better than adding each file separately. Hope this helps Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Jaakko.Salmenius Administrator
|
jkl wrote: well - when it comes to .resx files, all the original as well as the lang specific files resides in the same folder, and that is why I want to omit the lang files.... When you select a directory to be localized and choose that *.resx file should be localized Sisulizer automatically excludes localized resx file. Only original resx file appear in the project tree. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
jkl Member
|
ok - fine - but still you cannot include subfolders.... //jens
____________________ //jens |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Jaakko.Salmenius Administrator
|
Yes you can. You have to check "Localize all similar files in sub directories" check box. See the screen shot. You can also check this in the Project Wizard when creating a project. Jaakko Attachment: Untitled.png (Downloaded 35 times)
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
Hi Jens, In "Localize all similar files in a directory" there is a check box you need to enable. Then Sisulizer scans all sub-dirs as well. Sorry for the confusion. I got the impression you tried "Localize all similar files in a directory" and did not work for you, so I recommended a work around. Sorry for that. Simply try "Localize all similar files in a directory" and switch on the sub-dir scan. Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
jkl Member
|
I'm not sure I get this - creating a new proj you select either "Localize a file or files" or "Localize all similar files" - in selecting similar files you can select .resx files incl subdir but it does not omit lang files - it simply takes all .resx files.... Selecting Localize a file or Files you can omit lang spec. files, but you have to select a folder where the resx resides and mark them all - my "path" is broken....please enlighting me on this.... //jens
____________________ //jens |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
Hi Jens, Use File - New - "Localize all similar files in a directory". Then select the path you want to scan. Click "Localize all similar files..." on. Select file type *.resx, then click Next. You should get a project with all *.resx files below your start path. My question: Why don't you start a project based on your .NET solution (the recommended way to localize .NET projects) so Sisulizer can locate all files needed to localize itself? Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Jaakko.Salmenius Administrator
|
When you create a project do you set the filter *.resx or *.* in the project files. It seems that your filter is *.* and then SL really adds all files. Try *.resx instead. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
jkl Member
|
no, I give in *.resx
____________________ //jens |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Jaakko.Salmenius Administrator
|
Can you upload me your SLP and the .resx files? Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
jkl Member
|
do you need all resx files or just a couple - what kind of slp file - the one base on similar files or the one based on file/files
____________________ //jens |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Jaakko.Salmenius Administrator
|
Just couple of resx is enough. The SLP shoudl be the same where you added a directory with *.resx filter but it does not omit language versions of resx. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
jkl Member
|
the files are uploaded //jens
____________________ //jens |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Jaakko.Salmenius Administrator
|
Thamk you for the file. I noticed that you have several resx sources there not not single *.resx source <source class="TNetResourceSource" name="..\xxxx\xxxx\xxxx\xxxxxxPreview.resx" original="en" date="20100107092710"> It should be <source class="TNetResourceSource" name="*.resx" original="en" date="20100107092710"> How did you create this SLP. You should run Project Wizard, click Localize all similar files in the directory, select the dir and set the filter to *.resx. See the screenhot. Jaakko Attachment: Untitled.png (Downloaded 26 times)
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
jkl Member
|
this is exactly the way I create the project - after this screen the .NET resource files window shows up where you can set different options - default the Translate option is selected, Exclude all but string data types, Set reading order property, and Sort items - next window contain a list of languages to select and then Finsh pb. //jens
____________________ //jens |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Jaakko.Salmenius Administrator
|
I made an AVI that shows how I created a project. http://www.sisulizer.com/_download/sample.zip Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
jkl Member
|
thanks - I'll have a look at it..... //jens
____________________ //jens |
||||||||||||||||
| |||||||||||||||||
| Current time is 05:27 pm | |
| .NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > importing .resx files | |
Sisulizer software localization tool - Three simple steps to localize