Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] words/sentences directly in english in some JSP files

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] words/sentences directly in english in some JSP files


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Yoann Delattre <>, "" <>
  • Subject: RE: [grouper-users] words/sentences directly in english in some JSP files
  • Date: Fri, 7 Nov 2014 14:56:03 +0000
  • Accept-language: en-US

It works for me…

 

I have this at the top of the grouper.text.fr.fr.base.properties

 

text.config.hierarchy = classpath:grouperText/grouper.text.fr.fr.base.properties, classpath:grouperText/grouper.text.fr.fr.properties

 

And this in the grouper-ui.properties

 

###########################################

## Text bundles for UI

###########################################

 

# language for this bundle

grouper.text.bundle.1.language = fr

 

# country for this bundle

grouper.text.bundle.1.country = fr

 

# filename in the package grouperText that is before the .base.properties, and .properties

grouper.text.bundle.1.fileNamePrefix = grouperText/grouper.text.fr.fr

 

I change my browser to send the French locale first.

 

I see the text changes but I don’t see accents (probably something with my computer, not sure)

 

 

You see everything else in French, but not that?

 

Hmmm

 

Chris

 

 

From: Yoann Delattre [mailto:]
Sent: Friday, November 07, 2014 2:52 AM
To: Chris Hyzer;
Subject: Re: [grouper-users] words/sentences directly in english in some JSP files

 

Thanks a lot :)

Just finish to test.
Still have a problem with paging tag : it's in english.

my grouper.text.en.us.base.properties

########################################
############## Paging Tag 2nd edition
########################################

# paging 2 tag, showing label
paging2.showing = Showing

# of link in paging 2 tag
paging2.of = of

# First link of paging2
paging2.first = First

# Prev link of paging2
paging2.prev = Prev

# Next link of paging2
paging2.next = Next

# Last link of paging2
paging2.last = Last


my grouper.text.fr.fr.base.properties

########################################
############## Paging Tag 2nd edition
########################################

# paging 2 tag, showing label
paging2.showing = Page

# of link in paging 2 tag
paging2.of = /

# First link of paging2
paging2.first = Début

# Prev link of paging2
paging2.prev = Précédente

# Next link of paging2
paging2.next = Suivante

# Last link of paging2
paging2.last = Fin

result :




Do you want to try to keep the externalized French version in git?  Is that something you can maintain for each release?  J


I can try :), we still need to check some translation. But i think the externalized Fench version can be finish soon :) 

Thanks a lot,
Yoann.

Le 04/11/2014 21:00, Chris Hyzer a écrit :

 

Thanks a lot for compiling this list.

 

Do you want to try to keep the externalized French version in git?  Is that something you can maintain for each release?  J

 

This is fixed. Note a lot of these were in JSP comments. Also found a couple more.

 

https://bugs.internet2.edu/jira/browse/GRP-1065

 

https://github.com/Internet2/grouper/commit/995233fc30e28756d06c45102e615858a6194467

 

https://github.com/Internet2/grouper/commit/6dcf79b62d9623d2b9f86bf5e2295aac5572eae7

 

If you have time, test it out and let me know J

 

Thanks,

Chris

 

 

 

From: [] On Behalf Of Yoann Delattre
Sent: Wednesday, October 15, 2014 9:39 AM
To:
Subject: [grouper-users] words/sentences directly in english in some JSP files

 

Hi everyone :)

i'm translating the NewUI in french, and i discovered some words/sentences directly in english in some JSP/Java files.

If it can help, this is what i found :

stemDelete.jsp

line 22

<div class="form-actions"><a href=""#"" class="btn btn-primary" return false;">Delete</a>

line 23

<a href=""#"" class="btn btn-cancel" guiV2link('operation=UiV2Stem.viewStem&stemId=${grouperRequestContainer.stemContainer.guiStem.stem.id}');" >Cancel</a></div>

GrouperPagingTag2.java

line 222

result.append(" <div class=\"pull-right\">Showing " + (queryPaging.getFirstIndexOnPage()+1) + "-" + (queryPaging.getLastIndexOnPage()+1) + " of " + this.guiPaging.getTotalRecordCount() + " &middot; ");

line 229

result.append("First | Prev");

line 231

result.append("<a href="\"#\"" + _javascript_EventPrefix + this.refreshOperation + _javascript_EventSuffix + "\">First</a> | ");

line 233

+ appendToUrl(this.refreshOperation, "pagingTagPageNumber=" + (queryPaging.getPageNumber()-1) ) + _javascript_EventSuffix + "\">Prev</a>");

line 240

+ appendToUrl(this.refreshOperation, "pagingTagPageNumber=" + (queryPaging.getPageNumber()+1) ) + _javascript_EventSuffix + "\">Next</a>");

line 243

+ appendToUrl(this.refreshOperation, "pagingTagPageNumber=" + queryPaging.getNumberOfPages() ) + _javascript_EventSuffix + "\">Last</a>");

stemPrivilegeContents.jsp

line 10

<label for=""people-update">Update:</label>

line 15

<option value="assign_creators">Assign the CREATE GROUP privilege</option>

line 16

<option value="assign_stemmers">Assign the CREATE FOLDER privilege</option>

line 17

<option value="assign_stemAttrReaders">Assign the ATTRIBUTE READ privilege</option>

line 18

<option value="assign_stemAttrUpdaters">Assign the ATTRIBUTE UPDATE privilege</option>

line 19

<option value="assign_all">Assign ALL privileges</option>

line 20

<option value="revoke_creators">Remove the CREATE GROUP privilege</option>

line 21

<option value="revoke_stemmers">Remove the CREATE FOLDER privilege</option>

line 22

<option value="revoke_stemAttrReaders">Remove the ATTRIBUTE READ privilege</option>

line 23

<option value="revoke_stemAttrUpdaters">Remove the ATTRIBUTE UPDATE privilege</option>

line 24

<option value="revoke_all">Remove ALL privileges</option>

line 40

<th class="sorted">Name</th>

line 41

<th data-hide="phone" style="white-space: nowrap; text-align: center;">Create<br />folder</th>

line 42

<th data-hide="phone" style="white-space: nowrap; text-align: center;">Create<br />group</th>

line 43

<th data-hide="phone" style="white-space: nowrap; text-align: center;">Attribute<br />read</th>

line 44

<th data-hide="phone" style="white-space: nowrap; text-align: center;">Attribute<br />update</th>

indexMyFavorites

line 3

<h4>My favorites</h4>

indexColumnMenu.jsp

line 9

<li class="nav-header">Select a widget to display</li>

line 11

<li><a href=""#"" return false;">My favorites</a></li>

line 12

<li><a href=""#"" return false;">Groups I manage</a></li>

line 13

<li><a href=""#"" return false;">My services</a></li>

line 14

<li><a href=""#"" return false;">My folders</a></li>

line 15

<li><a href=""#"" return false;">My memberships</a></li>

line 16

<li><a href=""#"" return false;">Recently used</a></li>

indexStemsImanage

line 3

<h4>My folders</h4>

index.jsp

line 75

<button type="button" class="btn btn-block btn-grouper last">Browse Folders</button>

stemMoreActionsButtonContents.jsp

line 16

<div class="btn-group btn-block"><a data-toggle="dropdown" href=""#"" class="btn btn-medium btn-block dropdown-toggle">More actions <span class="caret"></span></a>

line 23

>Remove from my favorites</a></li>

line 28

>Add to my favorites</a></li>

subjectHeader.jsp

line 7

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

invite.jsp

line 9

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

stemHeader.jsp

line 6

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

newStem.jsp

line 5

<li><a href=""#"" guiV2link('operation=UiV2Main.indexMain');">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

stemDelete.jsp

line 9

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

stemCopy.jsp

line 9

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

stemMove.jsp

line 9

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

newGroup.jsp

line 5

<li><a href=""#"" guiV2link('operation=UiV2Main.indexMain');">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

groupCopy.jsp

line 9

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

groupDelete.jsp

line 9

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

groupRemoveMembers.jsp

line 9

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

groupMove.jsp

line 9

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

groupHeader.jsp

line 7

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

myGroupsMemberships.jsp

line 6

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

myGroups.jsp

line 6

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

myGroupsJoin.jsp

line 6

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

myStems,jsp

line 6

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

myStemsContainingGroupsImanage.jsp

line 6

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

myStemsContainingAttributesImanage.jsp

line 6

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

groupImportReport.jsp

line 9

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

groupExport.jsp

line 9

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

groupImport.jsp

line 9

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

search.jsp

line 6

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

line 11

<li><a href=""#"" guiV2link('operation=UiV2Main.indexMain');">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

myFavorites.jsp

line 6

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>

myServices.jsp

line 6

<li><a href=""index.html">Home </a><span class="divider"><i class='fa fa-angle-right'></i></span></li>


Thanks,
Yoann.

 

 




Archive powered by MHonArc 2.6.16.

Top of Page