Difference between revisions of "Memsource"
(→Link LRM and Memsource) |
(→LRM Resource Types Unsupported by Memsource) |
||
Line 64: | Line 64: | ||
===LRM Resource Types Unsupported by Memsource=== |
===LRM Resource Types Unsupported by Memsource=== |
||
− | Memsource |
+ | Memsource supports the following LRM resource types: |
+ | * .html, .htm |
||
+ | * .json |
||
+ | * .po |
||
+ | * .properties |
||
+ | * .resx |
||
+ | * .rc |
||
+ | * .rxml |
||
+ | * .strings |
||
+ | * strings.xml |
||
+ | * .txt |
||
+ | * .yaml, .yml |
||
+ | |||
+ | |||
+ | Memsource does <b>not</b> support the following LRM resource types: |
||
* .rjs |
* .rjs |
||
* .msg |
* .msg |
||
− | |||
− | Click [[Resource_Files#What_resource_file_types_are_supported_by_LRM.3F | here]] for the list of resource types currently supported by LRM. |
Revision as of 17:48, 24 October 2019
Contents
Link LRM and Memsource
- Configure config_l10n_vendor.properties (which can be specified at the group or project config level):
- uncomment
l10n.vendor=local
- configure
local.out.absolute.path
- configure
local.in.absolute.path
- Configure <HOME>/Lingoport_Data/L10nStreamlining/config/config_memsource_tofrom.properties:
- configure
memsource.out.to.translation.dir
- configure
memsource.in.from.translation.dir
- Modify the Jenkins job LocalVendorDownload and check Build after other projects are built and then in Projects to watch, type in MemsourceCallback.
Memsource Configuration
Configure the Memsource settings in the config_memsource_vendor.properties (which can be specified at the group or project config level).
# # Contains configuration for memsource # # To configure the token, follow these instructions: # https://help.memsource.com/hc/en-us/articles/115003461011-How-to-Setup-OAuth-Authentication-in-Memsource # # Run the following command to list the currently available template ids: # (note that template ids can support any target locale, not just the listed ones) # java -jar lingoport-memsource-cli.jar --list-templates -t <token> # # Make sure to configure the callback for your machine # memsource.api.token= memsource.api.project.template.id= memsource.api.source.locale=en memsource.api.callbackURL=http://<your_machine>:8080/jenkins/generic-webhook-trigger/invoke?token=1skLO6zTb
Memsource Locale Mapping
Configure config_memsource_locale_mapping.properties (which can be specified at the group or project config level).
This file maps locales from LRM to Memsource.
# #Locale mapping language only locales - Locales should be in the java format (_) # This is the default mapping. For your community, you'll need to edit this file # and place it either at the group level or the project level. # aa=aa ab=ab ach=ach af=af af_na=af_na ...
LRM Resource Types Unsupported by Memsource
Memsource supports the following LRM resource types:
- .html, .htm
- .json
- .po
- .properties
- .resx
- .rc
- .rxml
- .strings
- strings.xml
- .txt
- .yaml, .yml
Memsource does not support the following LRM resource types:
- .rjs
- .msg