I'm trying to include some translations for the la...
# sdf
w
I'm trying to include some translations for the label of a transaction body field and I get this error, anyone know what it could be?:
Import translation -- ~/Translations/translations_fi-FI.xlf
WARNING -- Problem identified: Source or target does not conform to usage constraints
Classification: Error
Detailed description: Source or target string can not be updated because it violates one or more usage rules
Collection: custcollection_pa_sdf_fields\nFailed on terms: PA_ACCOUNTING_REFERENCE
Out of which imported anyway:
Here is the xlf:
Copy code
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xliff xmlns:ns="netsuite" xmlns:ns3="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
    <file original="netsuite-database" source-language="en-US" target-language="fi-FI" datatype="database">
        <body>
            <group ns:collection="custcollection_pa_sdf_fields">
                <trans-unit id="PA_ACCOUNTING_REFERENCE">
                    <source>Accounting Reference</source>
                    <target>Kirjanpitoviite</target>
                    <note from="developer">No description available</note>
                </trans-unit>
                <trans-unit id="PA_CONTRACT_REFERENCE">
                    <source>Contract Reference</source>
                    <target>Sopimusviite</target>
                    <note from="developer">No description available</note>
                </trans-unit>
            </group>
        </body>
    </file>
</xliff>
the xml:
Copy code
<translationcollection scriptid="custcollection_pa_sdf_fields">
  <defaultlanguage>en-US</defaultlanguage>
  <name>SDF Fields</name>
  <strings>
    <string scriptid="pa_accounting_reference">
      <defaulttranslation>Accounting Reference</defaulttranslation>
      <description></description>
    </string>
    <string scriptid="pa_contract_reference">
      <defaulttranslation>Contract Reference</defaulttranslation>
      <description></description>
    </string>
  </strings>
</translationcollection>
and on the field-object itself:
Copy code
<label translate="T">[scriptid=custcollection_pa_sdf_fields.pa_accounting_reference]</label>