How do I specify a language to install during command-line installation
I want switch a command line installation to install a server in a different language. And while I found references in the help docs when using the UI ("To install additional languages, select one or more languages, and click Next."), I fail to find anything in the command line client documentation.
I tried the repoTools -help, too, but no luck. I also looked at various input files during installation and configuration, same difference.
Basically what I want is that OSLC API calls are returning a localized, non-english version (unless a language header is present).
Any pointers would be great.
Thanks!
Thomas
I tried the repoTools -help, too, but no luck. I also looked at various input files during installation and configuration, same difference.
Basically what I want is that OSLC API calls are returning a localized, non-english version (unless a language header is present).
Any pointers would be great.
Thanks!
Thomas
2 answers
Hi Thomas,
Have you tried the -nl switch with 2 or 4 character language code? For example, .\userinstc -acceptLicense -dataLocation C:\tmp\silent-install\data -silent -showVerboseProgress -nosplash -input silent-install-server.xml -nl es
I'm quite curious about your comment "unless a language header is present". Isn't it how we do it? Using the "Accept-Language" request header along with the OSLC API calls will tell the application to return content in the specified language, if the localized content exists. Below is the response with a request header "Accept-Language: de-DE"
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:jfs="http://jazz.net/xmlns/prod/jazz/jfs/1.0/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:oslc="http://open-services.net/ns/core#">
<oslc:Publisher rdf:about="https://clm406:9443/qm/application-about">
<dcterms:title>Quality Management</dcterms:title>
<dcterms:description>Stellt Funktionen für das Testmanagement bereit, z. B. für die Testplanung, die Erstellung und Ausführung von Tests sowie für Workflowsteuerung, Überwachung und eine durchgängige Verfolgbarkeit.</dcterms:description>
<dcterms:identifier>http://jazz.net/application/qm</dcterms:identifier>
<jfs:version>4.0.6</jfs:version>
<oslc:icon rdf:resource="https://clm406:9443/qm/web/com.ibm.rqm.planning.web/ui/internal/page/templates/images/banner/RQM_16.png"/>
<jfs:instanceName>/qm</jfs:instanceName>
</oslc:Publisher >
</rdf:RDF>
Comments
Chris Daly
JAZZ DEVELOPER Aug 18 '14, 11:33 a.m.Thomas Ehrnhoefer
Aug 18 '14, 2:17 p.m.