Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

app.localize #1926


User avatar
0
kythor created

I'm trying to copy the behaviour from MPA into my own frontend (built with Foundation Layout).

I'm struggling with the jTable. What am I missing if this works:

var s1 = abp.localization.localize('Actions');

but this gives error:

title: app.localize('Actions') => app is not defined


2 Answer(s)
  • User Avatar
    0
    andmattia created

    var s1 = <span style="color:#BF0000">abp</span>.localization.localize('Actions'); title: <span style="color:#00BF00">app</span>.localize('Actions') => app is not defined

    If you do not have define app

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    app.localize is defined in helpers.js file in common scripts. You need to include it in your page.