Title: Split Strings generated with Checkbox multiple selections
Last modified: November 3, 2022

---

# Split Strings generated with Checkbox multiple selections

 *  Resolved [Sahwa.co](https://wordpress.org/support/users/aasimz/)
 * (@aasimz)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/separate-strings-generated-with-dropdown-menu-multiple-selections/)
 * When the user have multi-able choices in the Multi Checkbox in the registration
   form, those strings shows in the profile page as one string and cannot be translated
   separately, can you please help me to find a way to split those strings and translate
   them individually.
 * Best regards
    Asim Suliman
    -  This topic was modified 3 years, 7 months ago by [Sahwa.co](https://wordpress.org/support/users/aasimz/).
    -  This topic was modified 3 years, 7 months ago by [Sahwa.co](https://wordpress.org/support/users/aasimz/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fseparate-strings-generated-with-dropdown-menu-multiple-selections%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Anghel Emanuel](https://wordpress.org/support/users/anghelemanuel99/)
 * (@anghelemanuel99)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/separate-strings-generated-with-dropdown-menu-multiple-selections/#post-16172323)
 * Hello there,
 * Thank you for letting us know about this!
 * You can also translate your strings directly from the backend using the WP Data
   Access plugin [https://wordpress.org/plugins/wp-data-access/](https://wordpress.org/plugins/wp-data-access/)
   
   Let’s say for example that your default site’s language is English (United States)
   and that you want to translate a string to Spanish. Using WP Data Access, you
   will have to search for that string either in the wp_trp_dictionary_en_us_es_es
   table or in the wp_trp_gettext_es_es table. The gettext table contains all the
   strings related to plugins or themes, while the dictionary table contains the
   strings related to your site’s content.
 * Here is an image of how WP Data Access looks when you search for the trp tables:
   [https://www.cozmoslabs.com/wp-content/uploads/2021/05/wp_data_access_search_for_table.jpg](https://www.cozmoslabs.com/wp-content/uploads/2021/05/wp_data_access_search_for_table.jpg)
 * You can never be too sure in which table a string will be, so the best practice
   is to search for it in both tables. Start with one table and if you are not able
   to find it there, search for it in the other table.
    Here is an image of how 
   I was able to search for all strings that contain “cart” in the wp_trp_dictionary_en_us_es_es
   table: [https://www.cozmoslabs.com/wp-content/uploads/2021/05/wp_data_access_search_for_string.jpg](https://www.cozmoslabs.com/wp-content/uploads/2021/05/wp_data_access_search_for_string.jpg)
 * After you find the string that you want to edit, all you have to do is to edit
   the row and to add the translation in the Translated column. It is also important
   to add 2 in the Status column (0 – not translated; 1 – automatic translated; 
   2 – manually translated).
    Here is an image of how to do the translation: [https://www.cozmoslabs.com/wp-content/uploads/2021/05/wp_data_access_translate_string.jpg](https://www.cozmoslabs.com/wp-content/uploads/2021/05/wp_data_access_translate_string.jpg)
   After you have filled the Translation and Status columns, press the Submit button
   and the translation is going to be saved.
 * In the example I gave above, I used English and Spanish, you can do the same 
   for all languages, just make sure to replace the en_us and es_es language codes
   with the ones that you are using. You can find the codes for your languages by
   going to: Settings –> TranslatePress –> General tab [https://www.cozmoslabs.com/wp-content/uploads/2021/05/general_langauge_code.jpg](https://www.cozmoslabs.com/wp-content/uploads/2021/05/general_langauge_code.jpg)
 * Let me know if this worked for you!
 * Kind Regards,
 *  Thread Starter [Sahwa.co](https://wordpress.org/support/users/aasimz/)
 * (@aasimz)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/separate-strings-generated-with-dropdown-menu-multiple-selections/#post-16172750)
 * Thank you Emanuel for the prompt response,
 * Unfortunately using the WP Data Access plugin did not fix the problem, as it 
   did not separate the strings, it has all checkbox individual strings translated
   already, but when the same strings joined in multiple selection they are generated
   again as a whole new string which includes all selections, the only way is to
   translate all possible combinations of multi selections (which I was trying to
   avoid so hard), it’s good that they will have only one order so hundreds of possibilities
   are eliminated, but still am gonna have to translate tens of strings specially
   with check-boxes which includes more than 10 options.
 * See the problem is in separating the strings which joined by default as it seems.
 * [Screenshot](https://talents.trigonsa.net/wp-content/uploads/2022/11/Screenshot-2022-11-07-at-3.08.28-PM.png)
    -  This reply was modified 3 years, 7 months ago by [Sahwa.co](https://wordpress.org/support/users/aasimz/).
    -  This reply was modified 3 years, 7 months ago by [Sahwa.co](https://wordpress.org/support/users/aasimz/).
    -  This reply was modified 3 years, 7 months ago by [Sahwa.co](https://wordpress.org/support/users/aasimz/).
    -  This reply was modified 3 years, 7 months ago by [Sahwa.co](https://wordpress.org/support/users/aasimz/).
    -  This reply was modified 3 years, 7 months ago by [Sahwa.co](https://wordpress.org/support/users/aasimz/).
    -  This reply was modified 3 years, 7 months ago by [Sahwa.co](https://wordpress.org/support/users/aasimz/).
 *  Plugin Support [Anghel Emanuel](https://wordpress.org/support/users/anghelemanuel99/)
 * (@anghelemanuel99)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/separate-strings-generated-with-dropdown-menu-multiple-selections/#post-16180942)
 * Hello there,
 * If the strings come by default, we can`t do anything to translate them individually.
 * You should try this manually and see if this could be useful for you.
 * Have a great day!
 * Kind Regards,
 *  Thread Starter [Sahwa.co](https://wordpress.org/support/users/aasimz/)
 * (@aasimz)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/separate-strings-generated-with-dropdown-menu-multiple-selections/#post-16185742)
 * I understand, thank you very much for your help.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Split Strings generated with Checkbox multiple selections’ is closed 
to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

## Tags

 * [comma](https://wordpress.org/support/topic-tag/comma/)
 * [dropdown](https://wordpress.org/support/topic-tag/dropdown/)

 * 4 replies
 * 2 participants
 * Last reply from: [Sahwa.co](https://wordpress.org/support/users/aasimz/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/separate-strings-generated-with-dropdown-menu-multiple-selections/#post-16185742)
 * Status: resolved