I am trying to access the Termbase statistics with the MultiTerm Api.
I am able to retrieve the Total number of entries:
Termbase.Entries.Count.ToString();
But how do I retrieve the breakdown for each language, like this:
Thanks in advance
I am trying to access the Termbase statistics with the MultiTerm Api.
I am able to retrieve the Total number of entries:
Termbase.Entries.Count.ToString();
But how do I retrieve the breakdown for each language, like this:
Thanks in advance
HI Samuel Baldus,
In order to get the number of entries for a standalone application, please see the following code (which can be also found within the SDL GitHub public repository, under the Code samples folder):
The "GetNumberOfEntriesForEachLanguage(Termbase localtermbase)" method will return the terms entry for each language. I've implemented the method to return a Dictionary<string,int> which contains the language index and the corresponding number of terms.
On the appstore.sdl.com site, you can also find the Multiterm Desktop SDK, and I've also update the Multiterm Wiki page with the above details.
With kind regards,
Florentina Caputa
Lovely stuff, just what I needed. Thanks again for your help.
Lovely stuff, just what I needed. Thanks again for your help.
Samuel Baldus I am really happy that my answer helped you, any time.
Wish you a beautiful day.
Florentina
Hi Florentina,
Sorry to bring this one up again.
I've just noticed that your code counts the number of Entries per Language.
What I am really after is the number of Terms per Language.
Is that at all possible?
Thanks,
Samuel