Title: Translate hardcoded strings
Last modified: June 21, 2023

---

# Translate hardcoded strings

 *  [Petr Beneš](https://wordpress.org/support/users/benyrfg/)
 * (@benyrfg)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/translate-hardcoded-strings/)
 * Hello, how can I translate hardcoded strings like this?
 * <h3>LP Order key: <span style=”font-weight:normal; color: rgba(0,128,0,0.61)”
   >
 * File location: wp-content\plugins\learnpress-woo-payment\incs\class-lp-wc-hooks.
   php

Viewing 1 replies (of 1 total)

 *  Plugin Support [brianvu-tp](https://wordpress.org/support/users/briantp/)
 * (@briantp)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/translate-hardcoded-strings/#post-16838727)
 * Hi,
   That is code for our premium add-on not for the LearnPress plugin.
 * We will update plugin to allow you can translate it via the loco translate. Please
   wait.
   Thanks

Viewing 1 replies (of 1 total)

The topic ‘Translate hardcoded strings’ is closed to new replies.

 * ![](https://ps.w.org/learnpress/assets/icon-256x256.gif?rev=3254420)
 * [LearnPress - WordPress LMS Plugin for Create and Sell Online Courses](https://wordpress.org/plugins/learnpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/learnpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/learnpress/)
 * [Active Topics](https://wordpress.org/support/plugin/learnpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/learnpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/learnpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [brianvu-tp](https://wordpress.org/support/users/briantp/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/translate-hardcoded-strings/#post-16838727)
 * Status: not resolved