Ngx-translate failed to translate all keysngx-translate getBrowserLang returns 'en' all the timengx-translate .pipe is not a functionngx-translate for a large appAvoid duplicate translations in @ngx-translatengx-translate, is there a way to translate a string with multiple keysHow to use ngx-translate on index.html?Ngx translate with shared/lazy loading modulesUsing ngx-translate-cach with ngx-translateHow to pass a variable to ngFor with ngx-translate?Angular - ngx-translate - Checking if translate key exist with Angular
How to gracefully leave a company you helped start?
Is this bar slide trick shown on Cheers real or a visual effect?
Units of measurement, especially length, when body parts vary in size among races
Problem with GFCI at start of circuit with both lights and two receptacles
How to render "have ideas above his station" into German
Are there any rules on how characters go from 0th to 1st level in a class?
Unsolved Problems due to Lack of Computational Power
Build a mob of suspiciously happy lenny faces ( ͡° ͜ʖ ͡°)
The space of cusp forms for GL_2 over F_q(T)
Quick destruction of a helium filled airship?
What exactly happened to the 18 crew members who were reported as "missing" in "Q Who"?
Gofer work in exchange for LoR
Unconventional examples of mathematical modelling
Can I use my OWN published papers' images in my thesis without Copyright infringment
What does 〇〇〇〇 mean when combined with おじさん?
Would getting a natural 20 with a penalty still count as a critical hit?
Do I need to start off my book by describing the character's "normal world"?
Good way to stop electrolyte tabs from turning into powder?
Is Fourier series a sampled version of Fourier transform?
What's the relationship betweeen MS-DOS and XENIX?
How do I pass a "list of lists" as the argument to a function of the form F[x,y]?
Why should I pay for an SSL certificate?
Meaning of だけはわからない
Why don't modern jet engines use forced exhaust mixing?
Ngx-translate failed to translate all keys
ngx-translate getBrowserLang returns 'en' all the timengx-translate .pipe is not a functionngx-translate for a large appAvoid duplicate translations in @ngx-translatengx-translate, is there a way to translate a string with multiple keysHow to use ngx-translate on index.html?Ngx translate with shared/lazy loading modulesUsing ngx-translate-cach with ngx-translateHow to pass a variable to ngFor with ngx-translate?Angular - ngx-translate - Checking if translate key exist with Angular
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
The translations fails on some words (found at least 2 keys that don't work - 'Home' and 'Currency').
The funny thing is that the translation works, but not with all the items...
I've checked the files, no duplicates found for those 2 items that i mentioned above
Home and Currency don't work.
The EN json:
"Dashboard": "Dashboard",
"Sellers": "Sellers",
"Products": "Products",
"VAT": "VAT",
"ProductCategory": "Product Categories",
"ProductDispatch": "Product Dispatch",
"ProductDispatchSellers": "Product Dispatch Sellers",
"MeasurementUnits": "Measurement Units",
"ProductsMasterData": "Products Master Data",
"ConsignationProducts": "Consignation Products",
"Documents": "Documents",
"Orders": "Orders",
"Invoices": "Invoices",
"Cashings": "Cashings",
"Customers": "Customers",
"CustomerOffices": "Customer Offices",
"PriceLists": "Price Lists",
"Currencies": "Currencies",
"CustomerCategories": "Customer Categories",
"Routes": "Routes",
"SalePromotions": "Sale Promotions",
"Trucks": "Trucks",
"TruckStocks": "Truck Stocks",
"Storages": "Storages",
"Calendar": "Calendar",
"Consignation": "Consignation",
"SalesByAgents": "Sales By Agents",
"SalesByClients": "Sales By Clients",
"SalesByRegion": "Sales By Region",
"TransactionSales": "Transaction Sales",
"Expenses": "Expenses",
"Surveys": "Surveys",
"Designer": "Designer",
"TakeSurvey": "Take Survey",
"ViewAnswers": "View Answers",
"Messages": "Messages",
"SendMessages": "Send Messages",
"MessageLists": "Message Lists",
"Activities": "Activities",
"Target": "Target",
"ClientActivities": "Client Activities",
"Admin": "Admin",
"Users": "Users",
"Roles": "Roles",
"XMLLayout": "XML Layout",
"Reports": "Reports",
"Settings": "Settings",
"Add new record": "Add new record",
"Add user": "Add user",
"Add role": "Add role",
"Login": "Login",
"Password": "Password",
"Confirm": "Confirm",
"Person": "Person",
"Role": "Role",
"Save": "Save",
"Close": "Close",
"Info": "Info",
"Success": "Success",
"Warning": "Warning",
"Error": "Error",
"msgFillMandatory": "Please fill the mandatory fields",
"Home": "Home",
"Currency": "Currency"
The RO json:
"Dashboard": "Panou de bord",
"Sellers": "Agenti",
"Products": "Produse",
"VAT": "TVA",
"ProductCategory": "Categorii produse",
"ProductDispatch": "Livrare produse",
"ProductDispatchSellers": "Livrare produse vanzatori",
"MeasurementUnits": "Unitati de masura",
"ProductsMasterData": "Produse",
"ConsignationProducts": "Produse de consignatie",
"Documents": "Documente",
"Orders": "Comenzi",
"Invoices": "Facturi",
"Cashings": "Incasari",
"Customers": "Clienti",
"CustomerOffices": "Sedii clienti",
"PriceLists": "Liste de preturi",
"Currencies": "Valute",
"CustomerCategories": "Categorii de clienti",
"Routes": "Rute",
"SalePromotions": "Promotii",
"Trucks": "Vehicule",
"TruckStocks": "Stoc vehicule",
"Storages": "Gestiuni",
"Calendar": "Calendar",
"Consignation": "Consignatii",
"SalesByAgents": "Vanzari agenti",
"SalesByClients": "Vanzari clienti",
"SalesByRegion": "Vanzari regiuni",
"TransactionSales": "Tranzactii vanzari",
"Expenses": "Cheltuieli",
"Surveys": "Sondaje",
"Designer": "Designer",
"TakeSurvey": "Completare sondaj",
"ViewAnswers": "Vizualizare raspuns",
"Messages": "Mesaje",
"SendMessages": "Trimitere mesaj",
"MessageLists": "Liste mesaje",
"Activities": "Activitati",
"Target": "Target",
"ClientActivities": "Activitati la clienti",
"Admin": "Admin",
"Users": "Useri",
"Roles": "Roluri",
"XMLLayout": "XML Layout",
"Reports": "Rapoarte",
"Settings": "Setari",
"Add new record": "Adauga inregistrare noua",
"Add user": "Adaugare utilizator",
"Add role": "Adaugare rol",
"Login": "Login",
"Password": "Parola",
"Confirm": "Confirmare",
"Person": "Persoana",
"Role": "Rol",
"Save": "Salveaza",
"Close": "Inchide",
"Info": "Info",
"Success": "Succes",
"Warning": "Avertizare",
"Error": "Eroare",
"msgFillMandatory": "Completati campurile obligatorii",
"Home": "Acasa",
"Currency": "Valuta"
The html sections are:<div class="title-div">
<label translate>Currency</label>
</div>
and also:<div class="breadcrumb-div">
<mat-icon>home</mat-icon>
<label> translate:param </label>
</div>
angular angular7 ngx-translate
add a comment |
The translations fails on some words (found at least 2 keys that don't work - 'Home' and 'Currency').
The funny thing is that the translation works, but not with all the items...
I've checked the files, no duplicates found for those 2 items that i mentioned above
Home and Currency don't work.
The EN json:
"Dashboard": "Dashboard",
"Sellers": "Sellers",
"Products": "Products",
"VAT": "VAT",
"ProductCategory": "Product Categories",
"ProductDispatch": "Product Dispatch",
"ProductDispatchSellers": "Product Dispatch Sellers",
"MeasurementUnits": "Measurement Units",
"ProductsMasterData": "Products Master Data",
"ConsignationProducts": "Consignation Products",
"Documents": "Documents",
"Orders": "Orders",
"Invoices": "Invoices",
"Cashings": "Cashings",
"Customers": "Customers",
"CustomerOffices": "Customer Offices",
"PriceLists": "Price Lists",
"Currencies": "Currencies",
"CustomerCategories": "Customer Categories",
"Routes": "Routes",
"SalePromotions": "Sale Promotions",
"Trucks": "Trucks",
"TruckStocks": "Truck Stocks",
"Storages": "Storages",
"Calendar": "Calendar",
"Consignation": "Consignation",
"SalesByAgents": "Sales By Agents",
"SalesByClients": "Sales By Clients",
"SalesByRegion": "Sales By Region",
"TransactionSales": "Transaction Sales",
"Expenses": "Expenses",
"Surveys": "Surveys",
"Designer": "Designer",
"TakeSurvey": "Take Survey",
"ViewAnswers": "View Answers",
"Messages": "Messages",
"SendMessages": "Send Messages",
"MessageLists": "Message Lists",
"Activities": "Activities",
"Target": "Target",
"ClientActivities": "Client Activities",
"Admin": "Admin",
"Users": "Users",
"Roles": "Roles",
"XMLLayout": "XML Layout",
"Reports": "Reports",
"Settings": "Settings",
"Add new record": "Add new record",
"Add user": "Add user",
"Add role": "Add role",
"Login": "Login",
"Password": "Password",
"Confirm": "Confirm",
"Person": "Person",
"Role": "Role",
"Save": "Save",
"Close": "Close",
"Info": "Info",
"Success": "Success",
"Warning": "Warning",
"Error": "Error",
"msgFillMandatory": "Please fill the mandatory fields",
"Home": "Home",
"Currency": "Currency"
The RO json:
"Dashboard": "Panou de bord",
"Sellers": "Agenti",
"Products": "Produse",
"VAT": "TVA",
"ProductCategory": "Categorii produse",
"ProductDispatch": "Livrare produse",
"ProductDispatchSellers": "Livrare produse vanzatori",
"MeasurementUnits": "Unitati de masura",
"ProductsMasterData": "Produse",
"ConsignationProducts": "Produse de consignatie",
"Documents": "Documente",
"Orders": "Comenzi",
"Invoices": "Facturi",
"Cashings": "Incasari",
"Customers": "Clienti",
"CustomerOffices": "Sedii clienti",
"PriceLists": "Liste de preturi",
"Currencies": "Valute",
"CustomerCategories": "Categorii de clienti",
"Routes": "Rute",
"SalePromotions": "Promotii",
"Trucks": "Vehicule",
"TruckStocks": "Stoc vehicule",
"Storages": "Gestiuni",
"Calendar": "Calendar",
"Consignation": "Consignatii",
"SalesByAgents": "Vanzari agenti",
"SalesByClients": "Vanzari clienti",
"SalesByRegion": "Vanzari regiuni",
"TransactionSales": "Tranzactii vanzari",
"Expenses": "Cheltuieli",
"Surveys": "Sondaje",
"Designer": "Designer",
"TakeSurvey": "Completare sondaj",
"ViewAnswers": "Vizualizare raspuns",
"Messages": "Mesaje",
"SendMessages": "Trimitere mesaj",
"MessageLists": "Liste mesaje",
"Activities": "Activitati",
"Target": "Target",
"ClientActivities": "Activitati la clienti",
"Admin": "Admin",
"Users": "Useri",
"Roles": "Roluri",
"XMLLayout": "XML Layout",
"Reports": "Rapoarte",
"Settings": "Setari",
"Add new record": "Adauga inregistrare noua",
"Add user": "Adaugare utilizator",
"Add role": "Adaugare rol",
"Login": "Login",
"Password": "Parola",
"Confirm": "Confirmare",
"Person": "Persoana",
"Role": "Rol",
"Save": "Salveaza",
"Close": "Inchide",
"Info": "Info",
"Success": "Succes",
"Warning": "Avertizare",
"Error": "Eroare",
"msgFillMandatory": "Completati campurile obligatorii",
"Home": "Acasa",
"Currency": "Valuta"
The html sections are:<div class="title-div">
<label translate>Currency</label>
</div>
and also:<div class="breadcrumb-div">
<mat-icon>home</mat-icon>
<label> translate:param </label>
</div>
angular angular7 ngx-translate
why do you dotranslate:param
? isparam
a public variable that is defined in your component where use this template?
– Sam Vloeberghs
Mar 27 at 13:15
@SamVloeberghs Thank you for sharing a thought. I just reused a piece of code that works fine while populating the menu<div class="nav-section"> <div *ngFor="let navPage of navItem.pages" class="nav-item"> <a class="nav-link" [routerLink]="navPage.link" routerLinkActive="selected"> <mat-icon>navPage.icon</mat-icon> translate:param </a> </div> </div>
– Sen Alexandru
Mar 27 at 14:08
That's why I ask.. Do you have a public variable calledparam
in your component class? Do you perhaps get an error in console / developer tools? If so please share it.
– Sam Vloeberghs
Mar 28 at 6:59
@SamVloeberghs nope. not having a param variable in the .ts file, nor any errors in the console
– Sen Alexandru
Mar 28 at 7:28
than remove the: param
fromtranslate: param
..
– Sam Vloeberghs
Mar 28 at 7:37
add a comment |
The translations fails on some words (found at least 2 keys that don't work - 'Home' and 'Currency').
The funny thing is that the translation works, but not with all the items...
I've checked the files, no duplicates found for those 2 items that i mentioned above
Home and Currency don't work.
The EN json:
"Dashboard": "Dashboard",
"Sellers": "Sellers",
"Products": "Products",
"VAT": "VAT",
"ProductCategory": "Product Categories",
"ProductDispatch": "Product Dispatch",
"ProductDispatchSellers": "Product Dispatch Sellers",
"MeasurementUnits": "Measurement Units",
"ProductsMasterData": "Products Master Data",
"ConsignationProducts": "Consignation Products",
"Documents": "Documents",
"Orders": "Orders",
"Invoices": "Invoices",
"Cashings": "Cashings",
"Customers": "Customers",
"CustomerOffices": "Customer Offices",
"PriceLists": "Price Lists",
"Currencies": "Currencies",
"CustomerCategories": "Customer Categories",
"Routes": "Routes",
"SalePromotions": "Sale Promotions",
"Trucks": "Trucks",
"TruckStocks": "Truck Stocks",
"Storages": "Storages",
"Calendar": "Calendar",
"Consignation": "Consignation",
"SalesByAgents": "Sales By Agents",
"SalesByClients": "Sales By Clients",
"SalesByRegion": "Sales By Region",
"TransactionSales": "Transaction Sales",
"Expenses": "Expenses",
"Surveys": "Surveys",
"Designer": "Designer",
"TakeSurvey": "Take Survey",
"ViewAnswers": "View Answers",
"Messages": "Messages",
"SendMessages": "Send Messages",
"MessageLists": "Message Lists",
"Activities": "Activities",
"Target": "Target",
"ClientActivities": "Client Activities",
"Admin": "Admin",
"Users": "Users",
"Roles": "Roles",
"XMLLayout": "XML Layout",
"Reports": "Reports",
"Settings": "Settings",
"Add new record": "Add new record",
"Add user": "Add user",
"Add role": "Add role",
"Login": "Login",
"Password": "Password",
"Confirm": "Confirm",
"Person": "Person",
"Role": "Role",
"Save": "Save",
"Close": "Close",
"Info": "Info",
"Success": "Success",
"Warning": "Warning",
"Error": "Error",
"msgFillMandatory": "Please fill the mandatory fields",
"Home": "Home",
"Currency": "Currency"
The RO json:
"Dashboard": "Panou de bord",
"Sellers": "Agenti",
"Products": "Produse",
"VAT": "TVA",
"ProductCategory": "Categorii produse",
"ProductDispatch": "Livrare produse",
"ProductDispatchSellers": "Livrare produse vanzatori",
"MeasurementUnits": "Unitati de masura",
"ProductsMasterData": "Produse",
"ConsignationProducts": "Produse de consignatie",
"Documents": "Documente",
"Orders": "Comenzi",
"Invoices": "Facturi",
"Cashings": "Incasari",
"Customers": "Clienti",
"CustomerOffices": "Sedii clienti",
"PriceLists": "Liste de preturi",
"Currencies": "Valute",
"CustomerCategories": "Categorii de clienti",
"Routes": "Rute",
"SalePromotions": "Promotii",
"Trucks": "Vehicule",
"TruckStocks": "Stoc vehicule",
"Storages": "Gestiuni",
"Calendar": "Calendar",
"Consignation": "Consignatii",
"SalesByAgents": "Vanzari agenti",
"SalesByClients": "Vanzari clienti",
"SalesByRegion": "Vanzari regiuni",
"TransactionSales": "Tranzactii vanzari",
"Expenses": "Cheltuieli",
"Surveys": "Sondaje",
"Designer": "Designer",
"TakeSurvey": "Completare sondaj",
"ViewAnswers": "Vizualizare raspuns",
"Messages": "Mesaje",
"SendMessages": "Trimitere mesaj",
"MessageLists": "Liste mesaje",
"Activities": "Activitati",
"Target": "Target",
"ClientActivities": "Activitati la clienti",
"Admin": "Admin",
"Users": "Useri",
"Roles": "Roluri",
"XMLLayout": "XML Layout",
"Reports": "Rapoarte",
"Settings": "Setari",
"Add new record": "Adauga inregistrare noua",
"Add user": "Adaugare utilizator",
"Add role": "Adaugare rol",
"Login": "Login",
"Password": "Parola",
"Confirm": "Confirmare",
"Person": "Persoana",
"Role": "Rol",
"Save": "Salveaza",
"Close": "Inchide",
"Info": "Info",
"Success": "Succes",
"Warning": "Avertizare",
"Error": "Eroare",
"msgFillMandatory": "Completati campurile obligatorii",
"Home": "Acasa",
"Currency": "Valuta"
The html sections are:<div class="title-div">
<label translate>Currency</label>
</div>
and also:<div class="breadcrumb-div">
<mat-icon>home</mat-icon>
<label> translate:param </label>
</div>
angular angular7 ngx-translate
The translations fails on some words (found at least 2 keys that don't work - 'Home' and 'Currency').
The funny thing is that the translation works, but not with all the items...
I've checked the files, no duplicates found for those 2 items that i mentioned above
Home and Currency don't work.
The EN json:
"Dashboard": "Dashboard",
"Sellers": "Sellers",
"Products": "Products",
"VAT": "VAT",
"ProductCategory": "Product Categories",
"ProductDispatch": "Product Dispatch",
"ProductDispatchSellers": "Product Dispatch Sellers",
"MeasurementUnits": "Measurement Units",
"ProductsMasterData": "Products Master Data",
"ConsignationProducts": "Consignation Products",
"Documents": "Documents",
"Orders": "Orders",
"Invoices": "Invoices",
"Cashings": "Cashings",
"Customers": "Customers",
"CustomerOffices": "Customer Offices",
"PriceLists": "Price Lists",
"Currencies": "Currencies",
"CustomerCategories": "Customer Categories",
"Routes": "Routes",
"SalePromotions": "Sale Promotions",
"Trucks": "Trucks",
"TruckStocks": "Truck Stocks",
"Storages": "Storages",
"Calendar": "Calendar",
"Consignation": "Consignation",
"SalesByAgents": "Sales By Agents",
"SalesByClients": "Sales By Clients",
"SalesByRegion": "Sales By Region",
"TransactionSales": "Transaction Sales",
"Expenses": "Expenses",
"Surveys": "Surveys",
"Designer": "Designer",
"TakeSurvey": "Take Survey",
"ViewAnswers": "View Answers",
"Messages": "Messages",
"SendMessages": "Send Messages",
"MessageLists": "Message Lists",
"Activities": "Activities",
"Target": "Target",
"ClientActivities": "Client Activities",
"Admin": "Admin",
"Users": "Users",
"Roles": "Roles",
"XMLLayout": "XML Layout",
"Reports": "Reports",
"Settings": "Settings",
"Add new record": "Add new record",
"Add user": "Add user",
"Add role": "Add role",
"Login": "Login",
"Password": "Password",
"Confirm": "Confirm",
"Person": "Person",
"Role": "Role",
"Save": "Save",
"Close": "Close",
"Info": "Info",
"Success": "Success",
"Warning": "Warning",
"Error": "Error",
"msgFillMandatory": "Please fill the mandatory fields",
"Home": "Home",
"Currency": "Currency"
The RO json:
"Dashboard": "Panou de bord",
"Sellers": "Agenti",
"Products": "Produse",
"VAT": "TVA",
"ProductCategory": "Categorii produse",
"ProductDispatch": "Livrare produse",
"ProductDispatchSellers": "Livrare produse vanzatori",
"MeasurementUnits": "Unitati de masura",
"ProductsMasterData": "Produse",
"ConsignationProducts": "Produse de consignatie",
"Documents": "Documente",
"Orders": "Comenzi",
"Invoices": "Facturi",
"Cashings": "Incasari",
"Customers": "Clienti",
"CustomerOffices": "Sedii clienti",
"PriceLists": "Liste de preturi",
"Currencies": "Valute",
"CustomerCategories": "Categorii de clienti",
"Routes": "Rute",
"SalePromotions": "Promotii",
"Trucks": "Vehicule",
"TruckStocks": "Stoc vehicule",
"Storages": "Gestiuni",
"Calendar": "Calendar",
"Consignation": "Consignatii",
"SalesByAgents": "Vanzari agenti",
"SalesByClients": "Vanzari clienti",
"SalesByRegion": "Vanzari regiuni",
"TransactionSales": "Tranzactii vanzari",
"Expenses": "Cheltuieli",
"Surveys": "Sondaje",
"Designer": "Designer",
"TakeSurvey": "Completare sondaj",
"ViewAnswers": "Vizualizare raspuns",
"Messages": "Mesaje",
"SendMessages": "Trimitere mesaj",
"MessageLists": "Liste mesaje",
"Activities": "Activitati",
"Target": "Target",
"ClientActivities": "Activitati la clienti",
"Admin": "Admin",
"Users": "Useri",
"Roles": "Roluri",
"XMLLayout": "XML Layout",
"Reports": "Rapoarte",
"Settings": "Setari",
"Add new record": "Adauga inregistrare noua",
"Add user": "Adaugare utilizator",
"Add role": "Adaugare rol",
"Login": "Login",
"Password": "Parola",
"Confirm": "Confirmare",
"Person": "Persoana",
"Role": "Rol",
"Save": "Salveaza",
"Close": "Inchide",
"Info": "Info",
"Success": "Succes",
"Warning": "Avertizare",
"Error": "Eroare",
"msgFillMandatory": "Completati campurile obligatorii",
"Home": "Acasa",
"Currency": "Valuta"
The html sections are:<div class="title-div">
<label translate>Currency</label>
</div>
and also:<div class="breadcrumb-div">
<mat-icon>home</mat-icon>
<label> translate:param </label>
</div>
angular angular7 ngx-translate
angular angular7 ngx-translate
asked Mar 27 at 12:27
Sen AlexandruSen Alexandru
582 silver badges12 bronze badges
582 silver badges12 bronze badges
why do you dotranslate:param
? isparam
a public variable that is defined in your component where use this template?
– Sam Vloeberghs
Mar 27 at 13:15
@SamVloeberghs Thank you for sharing a thought. I just reused a piece of code that works fine while populating the menu<div class="nav-section"> <div *ngFor="let navPage of navItem.pages" class="nav-item"> <a class="nav-link" [routerLink]="navPage.link" routerLinkActive="selected"> <mat-icon>navPage.icon</mat-icon> translate:param </a> </div> </div>
– Sen Alexandru
Mar 27 at 14:08
That's why I ask.. Do you have a public variable calledparam
in your component class? Do you perhaps get an error in console / developer tools? If so please share it.
– Sam Vloeberghs
Mar 28 at 6:59
@SamVloeberghs nope. not having a param variable in the .ts file, nor any errors in the console
– Sen Alexandru
Mar 28 at 7:28
than remove the: param
fromtranslate: param
..
– Sam Vloeberghs
Mar 28 at 7:37
add a comment |
why do you dotranslate:param
? isparam
a public variable that is defined in your component where use this template?
– Sam Vloeberghs
Mar 27 at 13:15
@SamVloeberghs Thank you for sharing a thought. I just reused a piece of code that works fine while populating the menu<div class="nav-section"> <div *ngFor="let navPage of navItem.pages" class="nav-item"> <a class="nav-link" [routerLink]="navPage.link" routerLinkActive="selected"> <mat-icon>navPage.icon</mat-icon> translate:param </a> </div> </div>
– Sen Alexandru
Mar 27 at 14:08
That's why I ask.. Do you have a public variable calledparam
in your component class? Do you perhaps get an error in console / developer tools? If so please share it.
– Sam Vloeberghs
Mar 28 at 6:59
@SamVloeberghs nope. not having a param variable in the .ts file, nor any errors in the console
– Sen Alexandru
Mar 28 at 7:28
than remove the: param
fromtranslate: param
..
– Sam Vloeberghs
Mar 28 at 7:37
why do you do
translate:param
? is param
a public variable that is defined in your component where use this template?– Sam Vloeberghs
Mar 27 at 13:15
why do you do
translate:param
? is param
a public variable that is defined in your component where use this template?– Sam Vloeberghs
Mar 27 at 13:15
@SamVloeberghs Thank you for sharing a thought. I just reused a piece of code that works fine while populating the menu
<div class="nav-section"> <div *ngFor="let navPage of navItem.pages" class="nav-item"> <a class="nav-link" [routerLink]="navPage.link" routerLinkActive="selected"> <mat-icon>navPage.icon</mat-icon> translate:param </a> </div> </div>
– Sen Alexandru
Mar 27 at 14:08
@SamVloeberghs Thank you for sharing a thought. I just reused a piece of code that works fine while populating the menu
<div class="nav-section"> <div *ngFor="let navPage of navItem.pages" class="nav-item"> <a class="nav-link" [routerLink]="navPage.link" routerLinkActive="selected"> <mat-icon>navPage.icon</mat-icon> translate:param </a> </div> </div>
– Sen Alexandru
Mar 27 at 14:08
That's why I ask.. Do you have a public variable called
param
in your component class? Do you perhaps get an error in console / developer tools? If so please share it.– Sam Vloeberghs
Mar 28 at 6:59
That's why I ask.. Do you have a public variable called
param
in your component class? Do you perhaps get an error in console / developer tools? If so please share it.– Sam Vloeberghs
Mar 28 at 6:59
@SamVloeberghs nope. not having a param variable in the .ts file, nor any errors in the console
– Sen Alexandru
Mar 28 at 7:28
@SamVloeberghs nope. not having a param variable in the .ts file, nor any errors in the console
– Sen Alexandru
Mar 28 at 7:28
than remove the
: param
from translate: param
..– Sam Vloeberghs
Mar 28 at 7:37
than remove the
: param
from translate: param
..– Sam Vloeberghs
Mar 28 at 7:37
add a comment |
1 Answer
1
active
oldest
votes
Apparently the issue was caused by the fact that an old version of the translation jsons was cached in the dist folder of my Angular project.
Once I deleted it it all went fine.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55377212%2fngx-translate-failed-to-translate-all-keys%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Apparently the issue was caused by the fact that an old version of the translation jsons was cached in the dist folder of my Angular project.
Once I deleted it it all went fine.
add a comment |
Apparently the issue was caused by the fact that an old version of the translation jsons was cached in the dist folder of my Angular project.
Once I deleted it it all went fine.
add a comment |
Apparently the issue was caused by the fact that an old version of the translation jsons was cached in the dist folder of my Angular project.
Once I deleted it it all went fine.
Apparently the issue was caused by the fact that an old version of the translation jsons was cached in the dist folder of my Angular project.
Once I deleted it it all went fine.
answered Apr 3 at 7:26
Sen AlexandruSen Alexandru
582 silver badges12 bronze badges
582 silver badges12 bronze badges
add a comment |
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55377212%2fngx-translate-failed-to-translate-all-keys%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
why do you do
translate:param
? isparam
a public variable that is defined in your component where use this template?– Sam Vloeberghs
Mar 27 at 13:15
@SamVloeberghs Thank you for sharing a thought. I just reused a piece of code that works fine while populating the menu
<div class="nav-section"> <div *ngFor="let navPage of navItem.pages" class="nav-item"> <a class="nav-link" [routerLink]="navPage.link" routerLinkActive="selected"> <mat-icon>navPage.icon</mat-icon> translate:param </a> </div> </div>
– Sen Alexandru
Mar 27 at 14:08
That's why I ask.. Do you have a public variable called
param
in your component class? Do you perhaps get an error in console / developer tools? If so please share it.– Sam Vloeberghs
Mar 28 at 6:59
@SamVloeberghs nope. not having a param variable in the .ts file, nor any errors in the console
– Sen Alexandru
Mar 28 at 7:28
than remove the
: param
fromtranslate: param
..– Sam Vloeberghs
Mar 28 at 7:37