New content language request fo VocBench

48 views
Skip to first unread message

Joeli Takala

unread,
Feb 27, 2025, 6:14:14 AMFeb 27
to vocbench-user
Hello,

Would it be possible to add Davvisámegiella as a language tag for literals with code 'se' in VB?
https://dbpedia.org/page/Northern_S%C3%A1mi

The Sami flag is not particular to this language as there are several Sami languages, but as both are widely used they could be used together:
https://en.wikipedia.org/wiki/S%C3%A1mi_flag#/media/File:Sami_flag.svg


Many thanks!

_______________
Joeli Takala

Joeli Takala

unread,
Mar 21, 2025, 6:55:01 AMMar 21
to vocbench-user
Hi,

It looks like this message was forgotten for a few weeks without an aswer. Is it possible at all to add new languages to VocBench?
Or should I modify and compile a local version with the changes. I would not want to do so, as it would require me to compile a new version after every VB release.


_______________
Joeli Takala

Tiziano Lorenzetti

unread,
Mar 21, 2025, 8:15:10 AMMar 21
to Joeli Takala, vocbench-user
Dear Joeli,
as mentioned here, under the section "Available Languages: ..:", the list of available languages for a project is defined as a project property in the following file:
<STData>/projects/<projectname>/plugins/it.uniroma2.art.semanticturkey.settings.core.SemanticTurkeyCoreSettingsManager/settings.props

To modify the list system-wide, use the generic definition file located at:
<STData>/system/plugins/it.uniroma2.art.semanticturkey.settings.core.SemanticTurkeyCoreSettingsManager/project-settings-defaults.props

Currently, VB does not offer a dedicated UI for editing this list. However, you can use the Settings Manager to make changes through a low-level editor.
  1. Go to Administration > Settings > Settings Manager 
  2. Select SemanticTurkeyCoreSettingsManager tab, then again SemanticTurkeyCoreSettingsManager under the left panel.
  3. In the right panel, select the scope "PROJECT (system defaults)", you will see a list of Tag-Name pairs for each language.
  4. Add a new entry for the desired language.
From this point onward, any new project will automatically include the updated language list. For existing projects, you will need to enable the new languages manually by going to Administration > Projects > Project settings > Languages.
If the new languages are not visible immediately, refresh VB to ensure the system reloads the updated list.

Regarding flag icons: At the moment, there is no way to add flag icons unless you modify and recompile the code. This feature is not currently planned, but we may consider it as a possible improvement in the future.

Best regards,
Tiziano


--
You received this message because you are subscribed to the Google Groups "vocbench-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vocbench-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vocbench-user/af408ea7-ccce-4e41-8409-ff69f6e2d939n%40googlegroups.com.

Joeli Takala

unread,
Apr 10, 2025, 9:30:28 AMApr 10
to vocbench-user
Dear Tiziano,

Thanks! That was pretty straight forward to do once you pointed out where the configuration was located.

_______
Joeli
Reply all
Reply to author
Forward
0 new messages