• Resolved eragonsoftware

    (@eragonsoftware)


    Hi, I was wondering where / why some strings are hardcoded, as in.. I have used loco translate to translate most of the strings , however, some of the frontpage booking form strings seem to be untranslatable, such as I’ve tried to translate with gettext, not even that one is applied

    switch ( $translated_text ) {
    case ‘First name’:
    $translated_text = ‘Keresztnév’;
    break;

        case 'Last name':
            $translated_text = 'Családnév';
            break;
    
     case 'Phone':
            $translated_text = 'Telefonszám';
            break;
    
    case 'Address':
            $translated_text ="Cím";
            break;
    
    case 'Terms of Service':
            $translated_text="ÁSZF";
            break;
    
    case 'I agree':
            $translated_text="Elfogadom";
            break;
    
    }

    Any chance I can make those too, translatable ? Or should I just try another plugin ?
    We need to translate all strings to Hungarian.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author SAASPROJECT

    (@masaakitanaka)

    Hello,

    In the Booking Package plugin, it is possible to change field names such as “First name”. You can make this change in the “Form Fields” tab within your “Calendar Account” settings.

    However, this setting cannot be automatically switched for each language (this is not a dynamic translation). Therefore, the field will be fixed to a single language (e.g., Hungarian).

    If you need the display to change according to the site’s language setting, we would have to recommend considering another plugin with multilingual features, as this would be the most reliable approach.

    Thank you.

    Thread Starter eragonsoftware

    (@eragonsoftware)

    @masaakitanaka Brother you are a legend !
    Thank you very much for your reply, and your explanation.
    If I would not have been in such a hurry, I would have noticed it.

    Thank you for your great plugin !

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

The topic ‘Some strings are NOT translatable’ is closed to new replies.