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.

Files in different folders with the same filename...only one shows up in the tool.

See original GitHub issue

We have this setting to point to our files:

    "i18n-ally.localesPaths": [
        "assets/groupA/languages",
        "assets/groupB/languages"
    ],

We have a directory structure as follows:

  assets
  ├── groupA
  |   └── languages
  |       ├── en.json
  |       ├── ...
  |       └── <filenames>.json
  └── groupB
      └── languages
          ├── en.json (some different text phrasing than groupA en.json)
          ├── de.json
          ├── es-ES.json
          ├── ...
          └── <filenames>.json

Currently, according to the Output panel in VS Code, both en.json files are being loaded. However, only one of the en.json files show up in the i18n-ally Progress panel.

The solution we would like is to be able to see groupA’s en.json file and groupB’s en.json file in the i18n-ally tool.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
antfucommented, May 29, 2020

If so, you can have the setting like this:

    "i18n-ally.localesPaths": ["assets"],
    "i18n-ally.pathMatcher": "{namespace}/languages/{locale}.json",
    "i18n-ally.namespace": true,

image

0reactions
stale[bot]commented, Aug 24, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Files in different folders with the same filename...only one ...
Currently, according to the Output panel in VS Code, both en.json files are being loaded. However, only one of the en.json files show...
Read more >
Copy filenames from folders and subfolders
Open a Command Window in the Folder Hold Shift while you right-click the folder were all the pictures are. · Copy the List...
Read more >
Batch file check same filename with other extension in folders
First I call a tool (xconverter) to transform the files in pgmx. And then I want to check if the PGMX file is...
Read more >
How to Find and Remove Duplicate Files in Windows 10/11
Solution 1: Use Windows Views to Search for Duplicate Files. Solution 2: Sort Files with Explorer ... How do I find duplicate files...
Read more >
How do I remove the same part of a file name for many files in ...
Bulk Rename Utility allows you to easily rename files and entire folders based ... Rename files in many ways: add, replace, insert text...
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