mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 13:33:08 +00:00
41 lines
1.5 KiB
INI
41 lines
1.5 KiB
INI
#---------------------------------------------------------------#
|
|
#----------TRANSLATOR CURATION TASK CONFIGURATIONS--------------#
|
|
#---------------------------------------------------------------#
|
|
# Configuration properties used solely by MicrosoftTranslator #
|
|
# Curation Task (uses Microsoft Translation API v2) #
|
|
#---------------------------------------------------------------#
|
|
## Translation field settings
|
|
##
|
|
## Authoritative language field
|
|
## This will be read to determine the original language an item was submitted in
|
|
## Default: dc.language
|
|
|
|
translator.field.language = dc.language
|
|
|
|
## Metadata fields you wish to have translated
|
|
#
|
|
translator.field.targets = dc.description.abstract, dc.title, dc.type
|
|
|
|
## Translation language settings
|
|
##
|
|
## If the language field configured in translate.field.language is not present
|
|
## in the record, set translate.language.default to a default source language
|
|
## or leave blank to use autodetection
|
|
#
|
|
translator.language.default = en
|
|
|
|
## Target languages for translation
|
|
#
|
|
translator.language.targets = de, fr
|
|
|
|
## Translation API settings
|
|
##
|
|
## Your Bing API v2 key and/or Google "Simple API Access" Key
|
|
## (note to Google users: your v1 API key will not work with Translate v2,
|
|
## you will need to visit https://code.google.com/apis/console and activate
|
|
## a Simple API Access key)
|
|
##
|
|
## You do not need to enter a key for both services.
|
|
#
|
|
translator.api.key.microsoft = YOUR_MICROSOFT_API_KEY_GOES_HERE
|
|
translator.api.key.google = YOUR_GOOGLE_API_KEY_GOES_HERE |