mrkara / gtranslator

A fork of the original 2-91 branch of Gtranslator from http://projects.gnome.org/gtranslator
GNU General Public License v3.0
1 stars 0 forks source link

[bgo#461021] Glossary support #80

Open mrkara opened 7 years ago

mrkara commented 7 years ago

I think is neccessary make a glossary support. A database with next fields (in xml):

Just a TreeView to manage the glossary database and with search support.

Originally reported by Ignacio Casal Quinteiro (nacho) at https://bugzilla.gnome.org/show_bug.cgi?id=461021

mrkara commented 7 years ago

The Dictionaries pane is great :)

Is there a way (or will there be in the future) for users to add/import new dictionaries? If I have a dictionary in xml, will I be able to add it to the pane and use it?

Also, it would be useful to be able to look up a word straight from the string, via a shortcut (that is, we select the word in the string, then we press, say, Ctrl+L and the word is automatically copied into the "Search" field of the Dictionaries pane). Yes, I'm lazy :P

Supporting TBX (TermBase eXchange standard) would be a good idea too, don't you think? http://www.lisa.org/standards/tbx/

Originally posted by Sílvia Miranda

mrkara commented 7 years ago

(In reply to comment #1)

The Dictionaries pane is great :)

Is there a way (or will there be in the future) for users to add/import new dictionaries? If I have a dictionary in xml, will I be able to add it to the pane and use it?

I am using the gnome dictionary. If the gnome dictionary has options to add new dictionary you are going to have it in gtranslator too. If this is not possible it shouldn't be difficult use another dictionary system, it is the great thing of the plugin engine.

Also, it would be useful to be able to look up a word straight from the string, via a shortcut (that is, we select the word in the string, then we press, say, Ctrl+L and the word is automatically copied into the "Search" field of the Dictionaries pane). Yes, I'm lazy :P

This is possible but first we have to get a consense of the main shorcuts.

Supporting TBX (TermBase eXchange standard) would be a good idea too, don't you think? http://www.lisa.org/standards/tbx/

I can investigate about this. Could you file a bug for this? Explanning a bit what it is and if it is possible an example.

Thanks

Originally posted by Ignacio Casal Quinteiro (nacho)

mrkara commented 7 years ago

(In reply to comment #2)

I am using the gnome dictionary. If the gnome dictionary has options to add new dictionary you are going to have it in gtranslator too. If this is not possible it shouldn't be difficult use another dictionary system, it is the great thing of the plugin engine.

I haven't been able to find a way of adding a dictionary (file) there, so it would be great if we could do it in gtranslator.

Supporting TBX (TermBase eXchange standard) would be a good idea too, don't you think? http://www.lisa.org/standards/tbx/

I can investigate about this. Could you file a bug for this? Explanning a bit what it is and if it is possible an example.

Done!

http://bugzilla.gnome.org/show_bug.cgi?id=513662

Originally posted by Sílvia Miranda

mrkara commented 7 years ago

(In reply to comment #3)

(In reply to comment #2)

I am using the gnome dictionary. If the gnome dictionary has options to add new dictionary you are going to have it in gtranslator too. If this is not possible it shouldn't be difficult use another dictionary system, it is the great thing of the plugin engine.

I haven't been able to find a way of adding a dictionary (file) there, so it would be great if we could do it in gtranslator.

I was talking with enmanuel about this and here what he said:

nacho: it's not complicated - you need to implement a new GdictContext that parses the tbx dictionary format nacho: then write a GdictSource that allows the tbx transport > > > > > Supporting TBX (TermBase eXchange standard) would be a good idea too, don't you > > > think? http://www.lisa.org/standards/tbx/ > > > > > I can investigate about this. > > Could you file a bug for this? Explanning a bit what it is and if it is > > possible an example. > > Done! > > http://bugzilla.gnome.org/show_bug.cgi?id=513662 > Originally posted by Ignacio Casal Quinteiro (nacho)
mrkara commented 7 years ago

It seems this is going to be implemented by gdict guys. An option import/export to tbx.

Originally posted by Ignacio Casal Quinteiro (nacho)

mrkara commented 7 years ago

This is one of the targeted features for the redesign work in progress.

Originally posted by Seán de Búrca