Results 1 to 2 of 2

Thread: Javascript translation not working

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2017
    Posts
    199

    Javascript translation not working

    Hello i'm having issue how i can manage the translation of text inside javascript to be used by language file

    HTML Code:
    KTApp.blockPage({
                    overlayColor: '#000000',
                    state: 'danger',
                    message: "{{ __('language.PLEASE_WAIT') }}"
    
    It shows message {{ __('language.PLEASE_WAIT') }}
    Last edited by luckydead; Nov 14th, 2023 at 12:17 PM.

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,669

    Re: Java translation not working

    1) You're title is wrong... Java is not Javascript and JAvascript is not Java...
    2) There should be a translation file with a PLEASE_WAIT entry in it ...


    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width