This thread is resolved. Here is a description of the problem and solution.
Problem:
The client needed help with two issues: translating the "CVV" field in WooCommerce checkout for Arabic and Chinese languages, and customizing the language switcher to abbreviate language names and add separators.
Solution:
For abbreviating the language names in the language switcher, we recommended the client to navigate to WPML->Languages->Edit Languages and adjust the names accordingly. For adding a separator in the language switcher, we provided the following CSS code:
.wpml-ls-item {<br />position: relative;<br />}<br /><br />li.wpml-ls-item::after {<br />content: "|";<br />position: absolute !important;<br />right: 0px;<br />top: 2px;<br />color: #ffffff;<br />}<br /><br />li.wpml-ls-item:last-child:after {<br />content: "";<br />}
If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic is split from https://wpml.org/forums/topic/split-translate-strings-from-checkout-field-editor-for-woocommerce-plugin/