Opened 13 years ago
Last modified 7 years ago
#849 new defect
Remove all PW Buttons & edit all logic dependent on hard coded values
| Reported by: | Martin Reisinger | Owned by: | dbmulg |
|---|---|---|---|
| Priority: | major | Milestone: | 1.10.2 |
| Component: | Public Website App. | Version: | N/A |
| Severity: | Keywords: | interface, buttons, hard-coded | |
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
The Public Website Image Buttons with Text should be converted to CSS buttons (or some other means) so that they can be easily translated into other languages. As it is now, since they are images, the equivalent buttons in a language other than English must be created / edited using a graphics tool.
Attachments (6)
Change History (12)
comment:1 by , 13 years ago
comment:2 by , 11 years ago
This trac ticket originally was focused on buttons; the issue was raised recently by the international community that other language items are hard coded and display in English. "Both in the CT and the Public Web site there are menu options, labels, titles, etc. which are hard-coded in the English language and it is not possible for the user to translate it to the language of his preference. It was suggested that GG should be fully language flexible to allow the users to translate texts according to their needs"
by , 9 years ago
| Attachment: | hard coded quarantine info 2017jun13.jpg added |
|---|
comment:3 by , 9 years ago
All hard coded data such as 'Location: USDA, ARS. Site: Plant Germplasm Quarantine Program.' under Quarantine information (see attachment) should be reprogrammed to use either database values or other variables supplied by the AT or some other source external to the program code.
comment:4 by , 9 years ago
| Keywords: | hard-coded added |
|---|---|
| Milestone: | Post 1.0 → TBD |
| Priority: | minor → major |
| Summary: | Public Website Image Buttons with Text → Remove all PW Buttons & edit all logic dependent on hard coded values |
| Version: | 1.8.30.0 → N/A |
by , 8 years ago
| Attachment: | not available msg 2018-05-29_17-18-43.png added |
|---|
by , 8 years ago
| Attachment: | not in npgs 2018-05-30_4-24-59.png added |
|---|
comment:5 by , 8 years ago
Ideally messages such as "Note: You will receive Unrooted cuttings not Rooted plants unless specific arrangements have been made with the curator." under Additional Availability Information should not be hard coded.
Several reasons:
(1) the user organization must rebuild to change the message
(2) the language may not match the user's profile
Why not place all messages into a dedicated pw_text_table (to be added to the schema)? Or, use an existing table such as App_Setting.
by , 8 years ago
| Attachment: | hardcoded_embedded_text_example.png added |
|---|
by , 8 years ago
| Attachment: | additional_avail_info_cuttings.jpg added |
|---|
comment:6 by , 7 years ago
Reported today - the Intended Use of the Germplasm dropdown on the Ordering Page is populated with hard coded English entries; image attached
by , 7 years ago
| Attachment: | pw_intended_use_of germplasm_dropdown.png added |
|---|

For the international 2.0 version, there are other places where English text displays on the Public pages. The code has text in English which is hardcoded. This needs to be made language agnostic. (Perhaps use have webParameters?) or minimally, in the interim, these hard-coded text instances need to be documented - their location, and where in the code they can be edited.