apache / apache/grails-intellij-plugin

False positive inspection 'Invalid i18n property key'

Open
#148 0 comments 0 reactions 0 assignees View on GitHub
bug imported-from-youtrack
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

What steps will reproduce the problem?
1. Create new Grails project
2. Add folder xxx to i18n with messages.properties file
3. Add key hello=xxx to locale file
4. Try to use locale key in index.gsp
```

```
What is the expected result?
Link to locale key in gsp page

What happens instead?
Invalid i18n property key inspection shows error mark

---

*Imported from [IDEA-119631](https://youtrack.jetbrains.com/issue/IDEA-119631) · Type: Bug · Votes: 1*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the problem by creating a Grails project, adding an i18n folder with messages.properties and the hello=xxx key, then referencing it with in index.gsp. Start by locating the "Invalid i18n property key" inspection and its handling of Grails message bundles. Done means the valid key is linked without an error mark.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
internationalization, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.