Difference between revisions of "Phrase TMS"

From Lingoport Wiki
Jump to: navigation, search
(Created page with "As of now, the connection to Phrase TMS is done via the Custom FTP setup. To set up Preview using InContext Server with Phrase TMS,")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
As of now, the connection to Phrase TMS is done via the Custom FTP setup.
+
As of now, the connection to Phrase TMS is done via the [[Custom FTP]] setup. On the Phrase TMS side, an FTP configuration is required.
   
To set up Preview using InContext Server with Phrase TMS,
+
To set up [[Command_Center_Release_Notes#Major_Localyzer_Context_Update | Preview]] using InContext Server using [[PXML]] with Phrase TMS, the XML configuration needs to handle the following items:
  +
  +
* Define a custom file type for .pxml
  +
* Set elements and attributes to "//string/value"
  +
* Set context note to "../lrm_incontext"
  +
* Import files using the custom file type .pxml
  +
  +
For example:
  +
  +
  +
[[File:PhrasePXMLConfiguration.png|600px|center]]
  +
  +
  +
Here is an example of the resulting clickable link for this file:
  +
<pre>
  +
<?xml version="1.0" encoding="utf-8"?>
  +
<resources>
  +
<string translate="1" segmentID="1" minLength="" maxLength="">
  +
<lrm_incontext>https://poc.lingoport.io/incontext-server/lookup?key=9675_54&amp;token=8JZGug2O004Q6q9Z00ruO5g04Lr8w7SD</lrm_incontext>
  +
<llm_prompt></llm_prompt>
  +
<SID>title_^o^_7</SID>
  +
<value>CR90 Corvette</value>
  +
</string>
  +
<string translate="1" segmentID="2" minLength="" maxLength="">
  +
<lrm_incontext>https://poc.lingoport.io/incontext-server/lookup?key=9711_54&amp;token=8JZGug2O004Q6q9Z00ruO5g04Lr8w7SD</lrm_incontext>
  +
<llm_prompt></llm_prompt>
  +
<SID>Checkout_^o^_checkoutTitle</SID>
  +
<value>Checkout</value>
  +
</string>
  +
<string translate="1" segmentID="3" minLength="" maxLength="">
  +
<lrm_incontext>https://poc.lingoport.io/incontext-server/lookup?key=9782_54&amp;token=8JZGug2O004Q6q9Z00ruO5g04Lr8w7SD</lrm_incontext>
  +
<llm_prompt></llm_prompt>
  +
<SID>Order_^o^_statusShipped</SID>
  +
<value>Shipped</value>
  +
</string>
  +
</resources>
  +
</pre>
  +
  +
Then when selecting the string Checkout (second segment above) to be translated, a clickable link for that string points to the Context view.
  +
  +
[[File:PhrasePXMLView.png|center| 600px]]

Latest revision as of 19:56, 8 July 2025

As of now, the connection to Phrase TMS is done via the Custom FTP setup. On the Phrase TMS side, an FTP configuration is required.

To set up Preview using InContext Server using PXML with Phrase TMS, the XML configuration needs to handle the following items:

  • Define a custom file type for .pxml
  • Set elements and attributes to "//string/value"
  • Set context note to "../lrm_incontext"
  • Import files using the custom file type .pxml

For example:


PhrasePXMLConfiguration.png


Here is an example of the resulting clickable link for this file:

<?xml version="1.0" encoding="utf-8"?>
<resources>
  <string translate="1" segmentID="1" minLength="" maxLength="">
    <lrm_incontext>https://poc.lingoport.io/incontext-server/lookup?key=9675_54&token=8JZGug2O004Q6q9Z00ruO5g04Lr8w7SD</lrm_incontext>
    <llm_prompt></llm_prompt>
    <SID>title_^o^_7</SID>
    <value>CR90 Corvette</value>
  </string>
  <string translate="1" segmentID="2" minLength="" maxLength="">
    <lrm_incontext>https://poc.lingoport.io/incontext-server/lookup?key=9711_54&token=8JZGug2O004Q6q9Z00ruO5g04Lr8w7SD</lrm_incontext>
    <llm_prompt></llm_prompt>
    <SID>Checkout_^o^_checkoutTitle</SID>
    <value>Checkout</value>
  </string>
  <string translate="1" segmentID="3" minLength="" maxLength="">
    <lrm_incontext>https://poc.lingoport.io/incontext-server/lookup?key=9782_54&token=8JZGug2O004Q6q9Z00ruO5g04Lr8w7SD</lrm_incontext>
    <llm_prompt></llm_prompt>
    <SID>Order_^o^_statusShipped</SID>
    <value>Shipped</value>
  </string>
</resources>

Then when selecting the string Checkout (second segment above) to be translated, a clickable link for that string points to the Context view.

PhrasePXMLView.png