|
|||
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
||||||||||||||||
| XML localization - Wish list for software localization tool - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support | |||||||||||||||||
| Author | Post | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
|
CW Member
|
I would like to see two additions regarding XML localization: 1. Make it possible to specify also the name of the localize attribute. For example Help & Manual adds the attribute translate="yes". 2. Make it possible to include all tags with a translate/localize attribute without having to specify them in the tags setup page. It should still be possible to include other tags of course. The reason for this is that if I include all xml files in a folder (Help & Manual again), Sisulizer takes the content of the first and uses that for the tags setup. But other files have, for example, a table which gives somewhat different structure in the XML and as a result the table can not be translated. The only way around this is to manually edit the project file to include those tags but that dissapears if I change the project settings. Being able to apply 1 and 2 above would make things much easier. Regards Christian
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Jaakko.Nieminen Administrator
|
The both features that you asked are already included into the new Sisulizer build (310). You can configure what attributes are the localize-attributes. Choose Tools | Platforms | XML and add translate into to Language attributes list. See screenshot. Now Sisulizer localizes an element if it has positive localize attribute. This happens even if the element has not been checked. You can download 310 from download pages. Jaakko Attachment: Untitled.png (Downloaded 19 times)
|
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Jaakko.Nieminen Administrator
|
I noticed a bug in XML Settings dialog. It did not update the value correctl and even mixed localize and language attributes. I fixed this in buidl 311. Do not use Tools | Platform | XML dialog but instead open Sisulizer.slo fiel into Notepad and add following <xml> <localize names="localize;translate"/> </xml> Sisulizer.slo is on SL's document directory (XP same as install dir, Vista/7 <users>\My Documents\Sisulizer 2010). Jaakko
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
CW Member
|
Great news! Thanks Christian
|
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
CW Member
|
Hi, I have a problem with the function. When I create a new project and add the xml files, I see a globe icon at the translate attribute in the tag setup and it works as expected but when I open my existing project there are no globes and it doesn't recognize the translate attribute. have tried to rescan the project(F5) but it doesn't help. Another minor thing. If I only want to translate the tags with the translate attribute and therefor uncheck all tags in the tag setup dialog, I get a message that I must select at least one tag. That shouldn't really be necessary as my translate attribute decide what tags to add. Regards Christian
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Janusz Grzybek Super Moderator
|
Hello,When I create a new project and add the xml files, I see a globe icon at the translate attribute in the tag setup and it works as expected but when I open my existing project there are no globes and it doesn't recognize the translate attribute. have tried to rescan the project(F5) but it doesn't help. This is normal behavior, for new projects Sisulizer automatically set up "Localize values" based on settings from "tools" menu -> "Platforms" -> "XML", but for existing projects Sisulizer doesn't change these settings without user knowledge (that is automatically). If you would like set up "Localize value" for selected tag/attribute, you should right click on this item in tag tree and select "Localize value" from context menu. Of course, applying changes requires re-scan of project. You can read about working with XML's Tag tree in this http://www.the-localization-tool.com/?p=145 article on our blog. Article is a bit out of dated, because our developers implemented to build 310 new features for XML localization. Best regards, Janusz
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| Current time is 06:32 pm | |
| .NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Wish list for software localization tool > XML localization | |
Sisulizer software localization tool - Three simple steps to localize