Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius Page:    1  2  Next Page Last Page  
New Topic Reply Printer Friendly
Customized dictionary data are saved at source level - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Thu Sep 3rd, 2009 03:13 pm
PM Private Upload Quote Reply
jbueno25
Member
 

Joined: Thu Feb 12th, 2009
Location:  
Posts: 39
Status: 
Offline
The words added to customized dictionary are saved in a source node in the slp file. It's a problem when source is excluded or removed, because those words are ignored in spell checking.

For example, a translator adds "myWord" (in "mySource" source) to dictionary, and this word is added to "otherSource" node:

 <source class="TNetAssemblySource" name="otherSource" ...>
    ...
    <spelldata>
      <dictionary>
        <item>myWord</item>
      </dictionary>
    </spelldata>
  </source>

All rows (for all sources) with word "myWord" was correctly checked.

When "otherSource" is excluded/removed/etc, Sisulizer shows spell errors in rows with word "mySource".

Juancho.

Back To Top PM Private Upload Quote Reply

 Posted: Thu Sep 3rd, 2009 03:18 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
Hi Juancho,

This can be configured under Tools - General - Spelling & Grammar.

Since this is not a bug I move this post to Usage.

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Thu Sep 3rd, 2009 03:46 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
Hello,

This can be configured under Tools - General - Spelling & Grammar.
Option "Tools" menu > "General" > "Spelling & Grammar" tab > "Default custom dictionary location" > "Save dictionary to a standalone file" is global setting and all new projects will be use this settings for all translation languages. If you don't want change this setting, you can use alternative solution:
Right click on translation language column header > click "Language properties" from context menu > "Spelling" tab > "Custom dictionary location" > "Save dictionary to … file". This setting is applied only to selected language of specified project, while all new project use still custom dictionary setting from "Spelling & Grammar" tab of "General Settings".
 
Best regards,
Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Thu Sep 3rd, 2009 03:50 pm
PM Private Upload Quote Reply
jbueno25
Member
 

Joined: Thu Feb 12th, 2009
Location:  
Posts: 39
Status: 
Offline
I configure "Save dictionary to the project file" and the words are added to the project. Those words are applied to all project. This is right.

The problem appears when I exclude a source, then close Sisulizer and then open same project. All words added to excluded source node (in slp file) aren't applied to spellcheck and all rows with those words are marked as erroneous.

1) Create a project with 2 sources, SourceA and SourceB. In my case, there are .Net assemblies.
    Both sources have next original string: "Searche".
    This word is not found in english dictionary. Then, in those rows appears an spell error.
2) Add "Seache" to dictionary. Then, spell errors dissapears.
3) Exclude the source.
    To locate what source to exclude, save the project and locate (in slp file) the source when a spelldata node with "Searche" item.
4) Save and close Sisulizer.
5) Open the project. The unique "Seache" row showed has an spell error...

and:

6) Include the source.
7) Reopen sisulizer. Both rows are right....

Juancho.

(In this configuration window I can use a standalone file, but this file is not sent to translator when slmake creates a SLE package, for example. Then, I can't use a standalone file)


Back To Top PM Private Upload Quote Reply

 Posted: Thu Sep 3rd, 2009 04:40 pm
PM Private Upload Quote Reply
jbueno25
Member
 

Joined: Thu Feb 12th, 2009
Location:  
Posts: 39
Status: 
Offline
Hi, Janusz.

I tried your second solution and it solves my problem.
I had to delete the absolute paths of the SLD files in General options | Spelling & Gramar tab (see figure 0001), but now I have one dictionary for project and language.

Before, I had tried a lot of combinations of this parameters. I can't find some way to send the customized dictionary with the translator and, later, to import his changes (new words added). Is this possible?

Juancho.

I think that initial problem reported in this topic is an strange behavior :)

Attachment: 0001.png (Downloaded 71 times)

Back To Top PM Private Upload Quote Reply

 Posted: Thu Sep 3rd, 2009 04:52 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
Hello,
 
I’m surprised a bit this issue, because Sisuslizer spell checker data are saved at first level XML node in project, and for this reason these data should be independent from source nodes and removing or excluding sources shouldn’t have influence on spell checking data. You can to see it on below screenshot. I performed your test described above, but I can’t reproduce your issue, that is, custom dictionary data leaved in project after removing source. Could you send to me your SLP via “Private Upload” button? I’d like check issue with your project.
 
Best regards,
Janusz

Attachment: screen.png (Downloaded 70 times)



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Thu Sep 3rd, 2009 05:34 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
Hello,
I can't find some way to send the customized dictionary with the translator and, later, to import his changes (new words added). Is this possible?
The best solution is saving custom dictionary to project, but if you have problem with this solution (I’ll test this issue again, but later, because now I’m a bit busy), you can include standalone custom dictionary file to exchange package in 6th step of Exchange Wizard.
BTW:
SLD files are plain text files and you can edit it in any text editor.
 
Best regards,
Janusz


Attachment: screen.png (Downloaded 64 times)



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Thu Sep 3rd, 2009 11:10 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
Hello Juancho,
 
Hmm...  I checked issue with your test scenario, your project and SLO files and I’ve got again correct result, that is, custom dictionary data was saved to first XML node level and existed still after removing your source.
Could you revert your custom dictionary settings to saving data in project file and check it again?
 
Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Fri Sep 4th, 2009 11:14 am
PM Private Upload Quote Reply
jbueno25
Member
 

Joined: Thu Feb 12th, 2009
Location:  
Posts: 39
Status: 
Offline
Please, I need help. I can't configure it...

In Vista, solution in post 5 doesn't works. When I close and open Sisulizer, the absolute path reappears...

I did a fresh installation of Sisulizer in other machine. I can't configure standalone files in proyect folder:
  • I change Default custom dictionary location to Save dictionary to a standalone file.
  • In language column spelling tab (column header > click "Language properties" > "Spelling" tab > "Custom dictionary location") appears next option:
                    Save dictionary to "C:\Program Files\Sisulizer 2008\SpellESP.sld" file
  • In Tools > General > Spelling & Grammar tab > double click in Spanish dictionary I change "C:\Program Files\Sisulizer 2008\SpellESP.sld" to "SpellESP.sld"
  • In language column spelling tab, now appears:
Save dictionary to "SpellESP.sld" file
  • I close and open Sisulizer.
  • In language column spelling tab:
                    Save dictionary to "C:\Program Files\Sisulizer 2008\SpellESP.sld" file
  • In general Spelling & Grammar tab:
C:\Program Files\Sisulizer 2008\SpellESP.sld
My configuration is lost. Sisulizer use dictionary in Sisulizer folder.

I will store dictionaries in project file.

Juancho.

Back To Top PM Private Upload Quote Reply

 Posted: Fri Sep 4th, 2009 12:53 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
You can select only in Column language properties, if custom dictionary will be saved to project file or to custom dictionary file specified in General settings. You can’t set up many different paths to custom dictionary file for selected language.
You can use only absolute path for spell checker components in general settings, because:
- For spell checker components required is registration in Windows system
- Spell checker libraries are third party components
- Saving custom dictionary to different directory than Sisulizer installation directory (XP), User directory (on Vista) could cause paths issues with relative paths.


Best regards,
Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Fri Sep 4th, 2009 01:05 pm
PM Private Upload Quote Reply
jbueno25
Member
 

Joined: Thu Feb 12th, 2009
Location:  
Posts: 39
Status: 
Offline
Sorry, I was wrong. I understood that it could be done.

I've been using separate files for two weeks without problems but now I need to exchange them with the translator.

Now, I'm using Hunspell dictionaries and dictionaries in project file, but the original error reported in this topic still happens.

Thanks for your help, Janusz.
Juancho.

Back To Top PM Private Upload Quote Reply

 Posted: Fri Sep 4th, 2009 01:18 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
In generally, standalone file is useful, if you want use one custom dictionary file for all your projects. It give you one centralized custom dictionary on your PC for all your projects, but this is not good solution, if you want exchange custom dictionaries with your translators.
Saving custom dictionary to project file is good solution, if you want exchange custom dictionaries with your translators, but it doesn’t create centralized custom dictionary on your PC for all your projects.
In your case, best solution is saving custom dictionary to project file, so we should find some solution for reproduce your issue. Unfortunately, now I need go out from my office, but I’ll try find tomorrow some way for reproduce your problem.
 
Best regards,
Janusz
 



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Mon Sep 7th, 2009 08:06 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
Hello Juancho,
 
Could you tell me if you resolved your issue with Sisulizer reinstalling (library registration)?
 
You sent project file, but without translations and with empty custom dictionary content. I can’t reproduce issue, because when I added new entries to custom dictionary Sisulizer (on my PC) saves it in correctly place in project. Could you send to us your incorrectly working project file, but with custom dictionary entries added to project on your PC?
 
Best regards,
Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Mon Sep 7th, 2009 10:09 am
PM Private Upload Quote Reply
jbueno25
Member
 

Joined: Thu Feb 12th, 2009
Location:  
Posts: 39
Status: 
Offline
>Could you tell me if you resolved your issue with Sisulizer reinstalling (library registration)?
 
No, I didn't resolve this issue installing or reinstalling Sisulizer. I tried to install in a clean machine, reinstall it, reinstall in my test machine...

> Could you send to us your incorrectly working project file, but with custom dictionary entries added to project on your PC?
 
I send you a project with a source (Systen.Printing.dll) and two words in "en" and "es" dictionaries:
  • en: namespace
  • es: Handle
I think I see what happens: If I add a word In Original column, Sisulizer stores it in a source node; if I add a word in Spanish column, it's stored in document node, out of a source node.

Could you reproduce this behaviour?

Juancho.



Back To Top PM Private Upload Quote Reply

 Posted: Mon Sep 7th, 2009 10:48 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
If I add a word In Original column, Sisulizer stores it in a source node; if I add a word in Spanish column, it's stored in document node, out of a source node.
Exactly. Custom dictionary data for originals aren’t assigned to language (look on spelldata syntax in SLP file), but to source, and for this reason spelldata tag content is saved in project file as source class sub-node.



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Mon Sep 7th, 2009 10:57 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
No, I didn't resolve this issue installing or reinstalling Sisulizer. I tried to install in a clean machine, reinstall it, reinstall in my test machine... 
I’ll forward your bug report to our developers.
 
Best,
Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Mon Sep 7th, 2009 11:35 am
PM Private Upload Quote Reply
jbueno25
Member
 

Joined: Thu Feb 12th, 2009
Location:  
Posts: 39
Status: 
Offline
>Exactly. Custom dictionary data for originals aren’t assigned to
>language (look on spelldata syntax in SLP file), but to source, and for
> this reason spelldata tag content is saved in project file as source
>class sub-node.
   
Ok. Then, there are no errors. It's right behavior, because I'm checking Original column!!!!!

The only question I have is (see first post):

>The words added to customized dictionary are saved in a source node
> in the slp file. It's a problem when source is excluded or removed,
> because those words are ignored in spell checking.

It's an strange behaviour. Isn't it?

I found a way to solve it: add a column with original language (en); right click on Original column header > click "Language properties" from context menu > "Spelling" tab and change "Spell Checker" to "Use 'en' spell checker". Then, Sisulizer stores all words in the "spelldata lang=en" node, out of source node.

It solves my problem!!!!!!

Now, I have other issues:
  • This configuration is not saved in slp project. I have to configure original column spellchecker everytime I load the project :,(
  • When I remove the english column... all words dissapears. (This is not important).
Any recommendations?

I'm grateful for your help (thanks for your patience),
Juancho

Back To Top PM Private Upload Quote Reply

 Posted: Mon Sep 7th, 2009 02:41 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
This configuration is not saved in slp project. I have to configure original column spellchecker everytime I load the project
Thank you for found it. I forwarded already information about this bug to our R&D.

When I remove the english column... all words dissapears. (This is not important).
This is normal. If you use saving custom dictionary to project, Sisulizer remove dictionary when you remove selected language from project, because dictionary is dedicated only for this project, so if you remove language, dictionary for this language is useless. If you would like share custom dictionary with other projects, you should use custom dictionary as standalone file.
 
Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Tue Sep 8th, 2009 05:13 am
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
Janusz Grzybek wrote: Thank you for found it. I forwarded already information about this bug to our R&D.

I fixed this in build 290.

Jaakko



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Wed Sep 9th, 2009 10:57 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
Hello,
 
Jaakko implemented to build 290 custom dictionary export/import feature (to/from ANSI text files or XML files).
 
Best regards,
Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

Current time is 08:29 pm Page:    1  2  Next Page Last Page    
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Customized dictionary data are saved at source level



WowUltra modified by Sisulizer Copyright © 2007-09 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize