Title: A little error in code
Last modified: January 12, 2022

---

# A little error in code

 *  Resolved [hajdy](https://wordpress.org/support/users/hajdy/)
 * (@hajdy)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/a-little-error-in-code/)
 * Hello guys,
 * i just want to report a small error in plugin code.
 * I’m from Slovakia and therefore in Stripe checkout (option where you get redirected
   after “order” button) i chosen Slovak language.
 * But in the code you have the “sl” which stand for Slovenia instead of “sk” for
   Slovak language. So, when i chose Slovak, i”m redirected to Slovenia’s language
   of checkout page.
 * So my recommendation is to edit in /includes/class-stripe-checkout.php:
    1) line
   131 = `'sl' => __('Slovak', 'payment-gateway-stripe-and-woocommerce-integration'),`
   to: `'sk' => __('Slovak', 'payment-gateway-stripe-and-woocommerce-integration'),`
   2) and add this for Slovenia = `'sl' => __('Slovenia', 'payment-gateway-stripe-
   and-woocommerce-integration'),`
 * Have a good day 😉
    my english is bad i know 😉

Viewing 1 replies (of 1 total)

 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/a-little-error-in-code/#post-15251704)
 * Hi [@hajdy](https://wordpress.org/support/users/hajdy/),
 * Thank you for sharing this information. We really appreciate it. We will make
   the necessary changes to the plugin and include it in the upcoming release.

Viewing 1 replies (of 1 total)

The topic ‘A little error in code’ is closed to new replies.

 * ![](https://ps.w.org/payment-gateway-stripe-and-woocommerce-integration/assets/
   icon-256x256.gif?rev=3361775)
 * [Payment Gateway of Stripe for WooCommerce](https://wordpress.org/plugins/payment-gateway-stripe-and-woocommerce-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/payment-gateway-stripe-and-woocommerce-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/payment-gateway-stripe-and-woocommerce-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/payment-gateway-stripe-and-woocommerce-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/payment-gateway-stripe-and-woocommerce-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/payment-gateway-stripe-and-woocommerce-integration/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [editing](https://wordpress.org/support/topic-tag/editing/)
 * [Localization](https://wordpress.org/support/topic-tag/localization/)

 * 1 reply
 * 2 participants
 * Last reply from: [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/a-little-error-in-code/#post-15251704)
 * Status: resolved