Hi, I am importing PO files to the strings table. I want to import alongside the text also the "name" of the string. (like in the attached screenshot"). What is the format of the PO file to pass this parameter?
The string name are stored as the String comment in the PO file and you can modify the string name by modifying the String Comment in a PO file editor.
However when you import the PO file with string name changed it will create a different string and not translate the original string with that name. The String Name are managed internally and are not meant to be modified or changed.
The names are stored as comments for the strings and in the format:
# wpml-name: TEST NAME
However please note this is automatically set by WPML and is not meant to be modified and if modified the original string translation might not work at WPML -> String Translation.
I shared the details on how the String name is saved only for reference and not as a way to edit the name as it wont work actually.
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.