Does the Reload glossary shortcut reload all open glossaries?
I would say no as I'm struggling to find a way to reload my Dutch regex glossary after adding entries, but so far nothing (not clicking refresh, not closing and reopening CT) has done the job.
If someone knows a solution, I'd appreciate hearing it.
The Glossary > Reload Glossary menu command reloads the currently-selected glossary in the tab. If you wish to reload a docked, joined or floated glossary, right-click at the glossary pane and choose the "Reload glossary "command.
Please note that the latest CafeTran version supports multilingual glossaries. That's why glossaries created in the previous version need to have the language-code header to let CT recognize correctly the source and target language columns. Please see an example of the header here.
I always do the right-click and refresh/reload thing for each glossary (in this case, it's a regex glossary that has each entry line preceded with a pipe | ).
I've now added the following line to the very beginning of my regex glossary:
But neither doing this nor a right-click refresh has reloaded the glossary. :(
To help clarify things, this is a new glossary I set up earlier today. I don't have a language code entry at the beginning of any of my other glossaries and they work fine.
Please find attached my glossary.
I spotted the regular expression error in your glossary. See the following .?* regular expressions which should have the correct .*? order. The regular expressions are very useful but you need to be careful with them because even the slightest change have break the matching. This makes me think of a feature to catch such errors and point them out to the users automatically.
BTW, there is no need to reload the glossary after you add the new entry.
Oh, boy. You can't trust me with anything.
I wonder what the emoticon is for kicking oneself in the ass? :)
My apologies for having wasted your time.
All the best,
Great it works now! No need to kick yourself. You have no idea how many times I was about to kick everything around over finding the right regular expression. Fresh air, jogging, googling and focus recommended before. :)
IK: No need to kick yourself.
Why not? He deserves it. Anyway, I tried, and even at my advanced age, I can kick myself in the arse. But not to the point it hurts. So it's useless, unless you like it that way. I don't.
You have no idea how many times I was about to kick everything around over finding the right regular expression.
Now that's you. Not us, mere mortals. I think that using regexes in CT shouldn't be encouraged, and I don't think that you shouldn't worry about "This makes me think of a feature to catch such errors and point them out to the users automatically". It's not your responsibility, and it's a waste of time, time you can spend to expand your KB.
cafetran.training: Also very beneficial for getting new ideas. For new features.
Try the existing features first. You may learn something from them.
>This makes me think of a feature to catch such errors and point them out to the users automatically
As always: a splendid idea, Igor, to investigate the potential use of a technique and possibly implement it as a new feature.
I agree with you on the fact that this is the only way to further improve anything.
Regarding a means to facilitate the insertion of regular expressions in glossaries: in the past I've already launched the idea to add some buttons to the New term dialogue box, for this purpose.
Numbers come to mind. User selects two strings, clicks 'Replace numbers with regular expressions' et voila.
Another useful application would be the replacement of brand names and company names by a generic string, though this is also scratching the surface of sentence patterns. User selects name in either source or target and clicks 'Generalise name':
die nicht ausdrücklich mit der Fa. Grautot abgestimmt wurden
die niet uitdrukkelijk zijn overeengekomen met de fa. Grautot
(User selects Grautot, clicks button)