question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Different json file/path for each route

See original GitHub issue

I’m submitting a … (check one with “x”)

[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[x] feature request

Current behavior one static path/file

Expected/desired behavior We are writing an hosting application where many modules can join and we host them in our frame. We need a solution where each module can use his own translation files.

Reproduction of the problem If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:btpW3l0jr5beJVjohy1Q).

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • ng2-translate version: x.x.x

  • Angular version: 2.0.0-rc.X

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

  • Language: [all | TypeScript X.X | ES6/7 | ES5]

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
aortmannmcommented, Jan 13, 2017

Very nice, thanks for the quick answer

1reaction
ocombecommented, Jan 13, 2017

Hello,

there’s a PR on hold for that, it should be coming soon, hopefully this week end I’ll try to merge it

Read more comments on GitHub >

github_iconTop Results From Across the Web

JSON Parse File Path - javascript - Stack Overflow
Since it is in the directory data/ , You need to do: file path is '../../data/file.json' $.getJSON('../../data/file.json', function(data) ...
Read more >
JSON Files - Spark 3.3.1 Documentation
Property Name Default Scope primitivesAsString false read prefersDecimal false read allowComments false read
Read more >
JSON Path Expressions - SQL Server - Microsoft Learn
Use JSON path expressions to reference the properties of JSON objects. ... all values, use OPENJSON, as shown in the following example. SQL...
Read more >
JSON file | Databricks on AWS
Learn how to read data from JSON files using Databricks.
Read more >
Python Read JSON File – How to Load ... - freeCodeCamp
Always choose meaningful names. · Array types should have plural key names. All other key names should be singular. For example: use "orders" ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found