Anonymous | Login | Signup for a new account | 2021-01-21 12:10 UTC | ![]() |
Main | My View | View Issues | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
0000365 | OLV | User Interface | public | 2011-10-31 03:51 | 2012-09-18 22:47 | ||||||
Reporter | Fred | ||||||||||
Assigned To | Fred | ||||||||||
Priority | normal | Severity | feature | Reproducibility | N/A | ||||||
Status | assigned | Resolution | open | ||||||||
Platform | All | OS | All | OS Version | All | ||||||
Product Version | 0.0.1-SNAPSHOT | ||||||||||
Target Version | 0.0.3 | Fixed in Version | |||||||||
Summary | 0000365: Add Translation Facility | ||||||||||
Description | Pull in all strings from some file such that they can be mapped to other languages, then: 1) Work with Isabel to get them into Spanish 2) Post a thread suggesting others translate for other langs | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
![]() |
|
![]() Fred (administrator) 2011-11-01 22:44 |
This is partially complete. The main class is 2/3 converted to resource bundle usage for English and 1/3 for Spanish. Will extend the coverage next weekend along with some other work. |
![]() Fred (administrator) 2012-09-05 19:46 |
Remove requirement for Russian, too ambitious. |
![]() Fred (administrator) 2012-09-05 19:47 |
Moving to 0.0.3 release because half done and pretty easy to finish at this point. Can reject commits that violate this in future once done. |
![]() Fred (administrator) 2012-09-11 18:59 |
Some work in 326b684 on this. |
![]() Fred (administrator) 2012-09-11 19:08 edited on: 2012-09-11 19:08 |
From ~7k lines, there are 400 or so with " marks in them. I guess I'll knock it off file by file rather than a huge clean sweep of all of them. Some won't be a problem, but most will. Those that aren't I'll mark with something for grep. |
![]() Fred (administrator) 2012-09-11 19:42 |
Eclipse can sort of do this for you, which is nice. I don't like how it does it, but it's still helpful. |
![]() Fred (administrator) 2012-09-11 20:04 |
Structure: Protected Keys class per package with the keys in them as protected final static String BLAH = "BLAH";. labels ResourceBundle generated at app start and passed into any object that needs it. config Map or Properties or similar, generated at app start and passed into any object that needs it. Strings obtained as such in all files: labels.getString(Keys.FILE_MENU_ITEM_QUIT) labels could be text. and config could be conf. and Conf.KEYNAME So perhaps: text.getString(Keys.NAME) conf.getString(Conf.NAME) That ought to keep it all clean. |
![]() Fred (administrator) 2012-09-18 22:47 |
Did the base package today, and laid the foundations for further work. Unfortunately I introduced a regression which is non-obvious to fix. Will work on it tomorrow. |
Copyright © 2000 - 2011 MantisBT Group |