Home>Support>translate Opening time

translate Opening time

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

HI,
I need translate “Opening time” to another language.
Where I can find to do this?

PICTURE -> https://image.ibb.co/kpmohT/Capture.jpg

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 3 days ago Alex S
    Hi, I Work Here

    Hi Rafresh,

    Unfortunately, the widget you’re working on isn’t one of ours so we’re not able to provide specifics on adjusting this text. I can, however, state it’s likely adjustable via plugins like Loco Translate. I would reach out to the developers for assistance with this.

  2. 7 years, 1 day ago rafresh

    Loco Translate I has tried before, but he does not see them

  3. 7 years, 1 day ago Andrew Misplon
    Hi, I Work Here

    Hi Rafresh

    If this is a Proteus Themes widget which it looks too be, it would be best to reach out to their support team and let them know you’re having trouble locating the “Opening Time” string with Loco Translate. They can then take a look, ensure the string is translatable and assist with the problem in Loco Translate.

  4. 6 years, 11 months ago rafresh

    I contacted for this, but they will not do anything. There is no solution.

  5. 6 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    Unfortunately, the string in question isn’t within our code base. As a result, there isn’t anything we can do as we don’t control the code for this widget. Sorry I don’t have more.

  6. 6 years, 11 months ago rafresh

    from where it is “PT Opening Time”?

  7. 6 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    The string is within the Proteus Themes widget. If it isn’t translatable by Loco Translate then that means the string isn’t localized.

    Put another way, does this problem persist when you insert this widget into a regular theme widget area at AppearanceWidgets? This problem is independent of SiteOrigin, your task is to translate a string in a widget created by Proteus. Unfortunately, SiteOrigin isn’t part of the problem at all. Hope that helps to explain the situation.

  8. 6 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    I’ve emailed Proteus on your behalf, they’ve let us know:

    Here is detailed guide on how to translate everything in our themes -> https://www.proteusthemes.com/help/translate-theme-another-language/

    Yes, those string have been localised. WPML is our supported translation plugin and everything is working perfectly with it.

    Hope that helps.

  9. 6 years, 11 months ago rafresh

    An interesting problem…

    If you find this method to complex, you can translate your theme with Loco translate plugin, but you will not be able to translate our widgets on newer themes.

    But I managed to find where everything is.
    I will invent something

    widget-opening-time.php

    public function __construct() {
    parent::__construct();

    // Set the right order of the days
    $start_of_week = get_option( ‘start_of_week ‘ ); // integer [0,6], 0 = Sunday, 1 = Monday …
    $this->days = array(
    ‘Sun’ => esc_html__( ‘Sunday’, ‘proteuswidgets’ ),
    ‘Mon’ => esc_html__( ‘Monday’, ‘proteuswidgets’ ),
    ‘Tue’ => esc_html__( ‘Tuesday’, ‘proteuswidgets’ ),
    ‘Wed’ => esc_html__( ‘Wednesday’, ‘proteuswidgets’ ),
    ‘Thu’ => esc_html__( ‘Thursday’, ‘proteuswidgets’ ),
    ‘Fri’ => esc_html__( ‘Friday’, ‘proteuswidgets’ ),
    ‘Sat’ => esc_html__( ‘Saturday’, ‘proteuswidgets’ ),
    );

    $this->rotate_days( $start_of_week );
    }

  10. 6 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    Glad to hear you’ve taken a look. Please, open a support topic with Proteus on their support desk if any further questions arise, I’m sure they can lend a hand. All the best.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More