Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

[FEATURE] Implement arrays in translations #394

Open
bmarotta opened this issue May 9, 2020 · 3 comments
Open

[FEATURE] Implement arrays in translations #394

bmarotta opened this issue May 9, 2020 · 3 comments
Labels
Milestone

Comments

@bmarotta
Copy link

bmarotta commented May 9, 2020

Current situation
If the translation file contains something like:

  "modes": [
         "Some text",
         "Some other text",
         (...)
         ],

It flags a lot of missing items

To Reproduce
Steps to reproduce the behavior:

  1. Create a new folder
  2. Add 2 languages
  3. Insert the below text as content for the 2 translations
{
  "menu": {
		"mode": [
			"My text.",
			"My other text",
			"Yet another text"			
		],
		"totalPieces": "{{totalPieces}} pieces"
	}
}

Expected behavior
The tool can identify arrays. No value should be missing

Screenshots
image

App version: 3.0.3

Desktop:

  • OS: Windows
  • OS Version: 10

Additional context

@bmarotta bmarotta added the bug Something isn't working label May 9, 2020
@gilmarsquinelato
Copy link
Owner

This tool doesn't support arrays
Need to add it in the next version v3.1

@bmarotta
Copy link
Author

It is a great tool tough. Should I change it to Feature instead?

@gilmarsquinelato
Copy link
Owner

Yes please! 😄

@bmarotta bmarotta changed the title [BUG] Weird behavior when reading arrays [FEATURE] Weird behavior when reading arrays May 11, 2020
@bmarotta bmarotta changed the title [FEATURE] Weird behavior when reading arrays [FEATURE] Implement arrays in translations May 11, 2020
@gilmarsquinelato gilmarsquinelato added feature and removed bug Something isn't working labels Jun 11, 2020
@gilmarsquinelato gilmarsquinelato added this to the 3.1.0 milestone Jun 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants