jMonkeyEngine / jMonkeyEngine/jmonkeyengine
android.nifty: Enter text: localization
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 1.2k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 14
Description
In android, when you do choose some TextField popup is appiared with suggestion to enter text, the phrase is: "Enter text" is used. But for non-english application it is not acceptable. I suggest to add possibility to localize this message.
I found the phrase at source at InputSystemJme.processSoftKeyboard:319
There are couple good solutions for this.
1 - simple one: some localization constants, for that phrase for exit message(it can be redefined now, but it would be good to have single mechanism for that). So application will be able to redefine phrases at start and it will be ok.
2 - the correct one: Is to introduce a proper localization system. for example kinda properties files, but UTF-8. And every language has own file (may be set of files to separate different parts, like system, user-application, nifty, some other?). It is almost common practice for web applications, but it is rather a good way to do it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at InputSystemJme.processSoftKeyboard around line 319 and inspect how the “Enter text” and exit messages are currently defined or overridden. Compare the proposed single-message mechanism with the broader localization-system idea; done means the Android text-entry prompt can be localized without leaving the mechanism ambiguous.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- localization, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100