comanage-dev - [comanage-dev] Re: [JIRA] (CO-1130) i18n for JavaScript dialog box text
Subject: COmanage Developers List
List archive
- From: Arlen Johnson <>
- To: comanage-dev <>
- Subject: [comanage-dev] Re: [JIRA] (CO-1130) i18n for JavaScript dialog box text
- Date: Fri, 21 Aug 2015 19:11:13 -0400
_javascript_ widgets that do not require the inclusion of dynamic
string parameters (which is most of them), we can use our normal
lang.php library for the strings and the jtxt() function when
appropriate. We already do this 98% of the time. So ticket CO-1130 is intended to address the i18n of that last 2% : _javascript_ widgets that require the inclusion of parametrized text. E.g. "Are you sure you want to remove " + name + "?"; This is only two or three widgets. There are two approaches we can take for managing the i18n for this:
The first will certainly work. The second will allow translators
to adjust for word order, and should only require slightly more
work - but it does mean that we are generating a new file for
language strings. A third possibility is to put the _javascript_
strings in lang.php as a block that gets pulled directly onto
default.ctp in a <script> block ... which will allow us to
keep all localizations in a single file ... if a little less
clean. Thoughts? Arlen On 8/21/15 6:29 PM, Arlen Johnson
(JIRA) wrote:
[ https://bugs.internet2.edu/jira/browse/CO-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on CO-1130 started by Arlen Johnson.i18n for _javascript_ dialog box text ----------------------------------- Key: CO-1130 URL: https://bugs.internet2.edu/jira/browse/CO-1130 Project: COmanage Issue Type: Improvement Components: Registry Reporter: Arlen Johnson Assignee: Arlen Johnson Fix For: COmanage Registry 1.0.0 (Polished Polygon) _javascript_ dialog boxes that are built in default.ctp should use i18n confirmation messages. These can be passed to the function at the point of instantiation.-- This message was sent by Atlassian JIRA (v6.2#6252) |
- [comanage-dev] Re: [JIRA] (CO-1130) i18n for JavaScript dialog box text, Arlen Johnson, 08/21/2015
- [comanage-dev] Re: [JIRA] (CO-1130) i18n for JavaScript dialog box text, Arlen Johnson, 08/22/2015
- Re: [comanage-dev] Re: [JIRA] (CO-1130) i18n for JavaScript dialog box text, Benn Oshrin, 08/22/2015
- Re: [comanage-dev] Re: [JIRA] (CO-1130) i18n for JavaScript dialog box text, Arlen Johnson, 08/23/2015
- Re: [comanage-dev] Re: [JIRA] (CO-1130) i18n for JavaScript dialog box text, Benn Oshrin, 08/22/2015
- [comanage-dev] Re: [JIRA] (CO-1130) i18n for JavaScript dialog box text, Arlen Johnson, 08/22/2015
Archive powered by MHonArc 2.6.16.