uP5 and internationalization

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

uP5 and internationalization

Vincent Repain
Hi all,
I'm with a quite fresh uPortal-start, so a uPortal 5.4.1
I have a couple of questions about internationalization and localization :
- it appears that the use of browser locales hasn't been (yet?) implemented in uPortal or has been deactivated, and that the portal only uses a parameter (up_locale or something like that) or users defined locales to choose a language. Could you confirm this ?
- I understand that data internationalization is achieved by filling the up_portlet_def_mdata. Is there a way to fill this table by using adequate parameters in portlet-definition files, other than by using the translator portlet UI or filling directly the up_portlet_def_mdata table with sql requests ?
Thanks!



--
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAZAAA/+4AJkFkb2JlAGTAAAAAAQMAFQQDBgoNAAAC8QAAA4cAAASzAAAGfP/bAIQAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAgICAgICAgICAwMDAwMDAwMDAwEBAQEBAQECAQECAgIBAgIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMD/8IAEQgAEwIPAwERAAIRAQMRAf/EAKAAAQADAQEBAQAAAAAAAAAAAAABAgMEBQYJAQEAAAAAAAAAAAAAAAAAAAAAEAACAwABBQEBAAAAAAAAAAAAAREhFAIwcBIDExAEEQADAQACAwEAAAAAAAAAAAAAokMxQaEQMEJgEgEAAAAAAAAAAAAAAAAAAABwEwACAAQEBQUBAQEAAAAAAAAAAfARYeEhMUGhUXGBsdEQIJHB8XBQQP/aAAwDAQACEQMRAAAB/fwAAAgAgEAAAAAAAAAAAAAAAAAAAAAAAAAkFgAQQQVIKmZmZmRkUKkAoVBBQqAAAAAAAAAAAAAAAAAACSTc9A7zcAqUMyhmZnOcpxnnnOcpgSDM5wChUoAAAAAAAAAAAAAAAAASXJLnoH0p9Idh/9oACAEBAAEFAulJJJKJRKJRKJRKJRKJRKJR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O9+R0XQ/saM91yC7kF3ILuQXcgu5BdyC7kF3ILuQXcgu5BdyC7kF3ILuQXcgu5BdyC7kF3ILuQXcgu5BdyC7kF3ILuQXcgu5BdyC7kF3ILuQXcgu5BdydlvuR2vMxTMdWU/tsa5dvIuWS+Ennrhj0MzrGDJ4T0z9cvX6Y8nyfYc7JfeMyfDv7Jk84PBktruTb8sfSevEm6vJ1mYbnoyXE5RN0a/o/JgljlPGe5jLmS5DasvlgwnCHgVC4Hj59BgOpZ49MtKB4vrg9QNy9q3P08mw93SCO4F+vjjM7seRk5ubx/wB4AAAAAAAAAAAAAAC/Tn6CwLswdBZO7v0MRxqyxIS9JYyMJT4ON1E2FCz3JaEXQ//aAAgBAgMBPxD+jf/aAAgBAwMBPxD+jf/Z">
Vincent REPAIN
Pôle Applications et Services Numériques
<img style="border: none; margin: 12px 5px 0 0; text-decoration: none;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAAAvCAIAAABL1D6ZAAAVd0lEQVR4Ae3bZ7cWxZYHcL6Kb2ZdHUVkyOEQOAQkoyJmMSgCIkFURMxiEMEg5pyDIgZFlCtixizmnLOCiEFUnPkNe609fbs4zxzm3Fnzgql1bOuprq7etcN/h2ra/fvW1/7666+4loMbN24s53z55ZcffPDB2rVry6XML1fTLztmRtPPR2I8ZLC1iyHZUeXO119//fGmdtFFF82ZM+faa6994okn7rrrrq+++uq7775bt25diiE5+8svv/z222+//vrru++++/LLL7/++us//PCD8eo015qQyGBrb8G+UrtfeeWVZ5555sMPP8TK888//6WXXnLt3r37aaeddvTRR0+ZMuW9995LmUXn559/Nv+kk07addddhwwZMnLkyAkTJlx44YXMqGYoYXBx3VqxqJBBDGJ0ckeLfsCRCRT81FNPvffee3feeecrrrhi9uzZ9L1qUkxkv/3269Wr17HHHvvkk0++8MILK1asOOyww6ZPn37HHXesX78+ZVy1xa3XDkrgfuSRR3bZZRfgk5yCOZ988slrr7326aefEgNgCfY9//zzP/3008qVK4866qjwE1YwArK6du161VVXVZclOY1IFi9evGbNmprL2XqxqHSbGAo9QM0RRxxx//33U1uQMnHixD333HPMmDG77747BZ80adLJJ5+8fPnyXOfiiy++/PLLw4yIsLm5Gf688847m7W5b775hkTJ4/fff8/Brd0O0j2uXr16+PCde/Xq0b9/3549u/fp01u/c+d/69GjW+9ePZp69/Szd++e3bp16dSpY9++TXPnzsHQAB8y+/bbb61zzTXX9O7de4899vCzhP5EHjL4888/q2S0+38n/P333++7777Y3dzcnwyw2JUYBgzopz+gf9/mAf369+vjz3i/fn3cIicmQgAeP+uss55++mmdc889t0OHDlzFqlWrqk6iFgvpa1ssg1zrf9tD6rcydGn8szUtGPHHH39gYrdu3XDcHxa7BtNdNwmgT4oB90MM/rp37zpr1kzBKAi6+eabLQWjPM8fQKeWjCBaq+yghMu27NYjrZ/TeKRxYNN68vIRKjxw4MCmpibMDTEMbO6P6YMGDmAEfur369tEBiEe08JW/OzatbOkgTXwHNYkD/EPcXLs119/vchVhlGqUUlkO79bz6P/KztojQVskQxoopl84xlnnNGpUycYVNV9YtAJs9Dx17dP7+R+jOs0NfXixkVNItFY9o033hg8eHCXLl3M2GeffeR0b731Vs3ySgrb1UT0z7X3LWdlI/E0ZnfN5FsDRJ9//rkwBsSIZwiA7gfskEHw2h8jgP5Dhgzik2FRCCCMJhBJpCRCDaFac8mSJW706NGDiI488kgJ2j333ONWTMjWCIuqMxqUQcppDcaz33id6DeWWfmitngs4ZBgFMs03CcGV399mnoJhPxHo/F92rSpK1b8/corLx86dDDdD5eQ/sN/ErfqskuXLh02bJgYSSMkc5588vHqBlv0yZtNphsUpGKtlL9+NQyoRQJVCjyy2TVznRq+5ytKPaqN57vqjxRlsnQG4BsQaSkAkeiUKZOOP/54nH3ggQfISWoW+5g6dQqeMpFmZlMJk0yumSDdB1sEZgID2nPP8Zk0lK1di1pZiCTu1vplEFYTRlxrWpB9iJwAXbtVfV1ZY0lBCmyq01IApQxKW3zzzTd79uwZdhBwLyeYMWPa2rXfI0y96MYbb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AIAQEDAT8QJOEsVysK9xSOfKea4ItfxLXWBBzpALqSLNEENwweLgBvPuk6NhGUAA3GuRQqmZqtDSniAg60/JTCAKW++yK3iwrhF/zQy1v7MTcYFRggeO0WDuLGmNTLW/sw9QIrPbUERab/AAf5LW/swoCmE+9iu0QPj1aWDxGACw7LwWh4gKeGfgCmvAdg3X7AWwXrhYmW37w//9oACAECAwE/EOe//9oACAEDAwE/EOe//9k=">

Direction du Système d'Information

Campus de Beaulieu - Bât. 12D - Bureau 117
263 avenue du Général Leclerc CS 74205 - 35042 Rennes Cedex

<img style="margin: -5px 1px -2px;" src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAZAAA/+4AJkFkb2JlAGTAAAAAAQMAFQQDBgoNAAAB+QAAArAAAAMpAAADkv/bAIQAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAgICAgICAgICAwMDAwMDAwMDAwEBAQEBAQECAQECAgIBAgIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMD/8IAEQgADAAMAwERAAIRAQMRAf/EALsAAAMBAAAAAAAAAAAAAAAAAAAGCAkBAAMBAAAAAAAAAAAAAAAAAAAGBwgQAAAGAgMAAAAAAAAAAAAAAAADEyMUBgcXAgUWEQAAAwUFCAMAAAAAAAAAAAACBBQBERIDEwAhQSIFEDFRMiMzQyQ0RBUSAAACBwUJAAAAAAAAAAAAAAIDARESMkITFAAhMSJSEEFhgaFicgQFEwABAQgCAwEBAAAAAAAAAAABIQAQETFBYXGBUZHwwdHh8f/aAAwDAQACEQMRAAAB2Ij1JUFBjAo/SET/AP/aAAgBAQABBQJ+0H67Kh48hpD/2gAIAQIAAQUCftB+vCoePIaQ/9oACAEDAAEFAmuhK9nzk3OSoP/aAAgBAgIGPwI0ADRlfBKGkGRKhnDQ9m3FowuetS1hyp7faz4rfVH0t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9InhtcC5kaWQ6Qzk3Nzk3MzlCQjUyMTFFNEE2QzZFNDIzRTkyMTE1MkMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxODc1MjNFQkJCNTIxMUU0QTZDNkU0MjNFOTIxMTUyQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxODc1MjNFQ0JCNTIxMUU0QTZDNkU0MjNFOTIxMTUyQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjSfumoAAAENSURBVHjaYvz//z8DrQALMicsLGwRkLKnktlHWNAEQoCYk0qGezKhCXwn06BvQPweiL8CMSycvzNR6LprQBwBxFpArAbEhkD8BGuYkwieArH7qlWrniCJvQHG2x9qGL4cZjDQQGMgZQPEHEAsRA3DHyOx+4HYFl0BJWHOjsTmIZjOiQSPgPgqEN9GEtsLxC+AmBHqA25yDd8EDOtcZAEgvxQpI94FUkqUBgsGABrMDnM1uS4PBBoCStfTgC5eCzV0IpDSAWJWIBamxHBpKN6BJGYNxMbUTC2/CRUbVA3zUcNB4AcS+y8xOZSDBMPtgUnwKzRXymIrHtANPw4tk4kBvkAchJRa3qHJXwAIMABjETxeCh3FbgAAAABJRU5ErkJggg==" alt="">
www.univ-rennes1.fr

--
You received this message because you are subscribed to the Google Groups "uPortal Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/uportal-user/.
Reply | Threaded
Open this post in threaded view
|

Re: uP5 and internationalization

Julien Gribonvald
Hi,

When we talk about internationalization - Vincent tell me if I'm wrong
for your case - the goal is to purpose a multilingual portal, not
partially and so not only with datas available in one language. For me
the only one part missing in the portal is on datas that everyone should
have to customize/manage.

To  be clear there is a such needs for European (not only French)
universities that accept foreign students (it's a European common
practice, at least with Erasmus program).

For me the detection of the user language preference won't be a big
problem to manage, only the spring resource message should be
reconfigured on the good way and with getting user uPortal pref. But the
main problem is on data, we need to insert it in several language and
serve it depending on the user preferred language. @Drew in non-English
speaking communities we have good acknowledge on how work i18n, trust me
;-) !

In my mind the pointed table could provide the persistent part of a such
thing, but there is a development to do before to be able to use it.
Expect if someone see an other way ?

After - it's engaging only me, and it's about what I understand, tell me
if I'm wrong - to make this development nobody will do it otherwise it
would have already been done - I think the US community doesn't have a
such need. So in my mind, those who need a such feature have to find a
way to develop it and to contribute on uPortal. So we have two choices:
contributing (and some help could be provided for the good way on how to
do it) or funding the development (we can find several ways). Expect if
someone see an other way ?

Thanks,

Julien


Le 15/03/2019 à 01:21, Drew Wills a écrit :

> Vincent,
>
> On 3/14/19 4:00 AM, Vincent Repain wrote:
>> - it appears that the use of browser locales hasn't been (yet?)
>> implemented in uPortal or has been deactivated, and that the portal
>> only uses a parameter (up_locale or something like that) or users
>> defined locales to choose a language. Could you confirm this ?
>
> I'm not certain of the answer to this question, sorry. Personally, I
> have never had an opportunity to work on a "real" uPortal
> implementation in which the UI appears in a language other than
> English.  (I would very much like to have that opportunity.)
>
> I know there's a property you can add to uPortal.properties or
> global.properties that will convert the UI to a language of your
> choosing.  I have tested & demonstrated that capability.
>
>> - I understand that data internationalization is achieved by filling
>> the up_portlet_def_mdata. Is there a way to fill this table by using
>> adequate parameters in portlet-definition files, other than by using
>> the translator portlet UI or filling directly the
>> up_portlet_def_mdata table with sql requests ?
>
> Based on what I know -- which probably isn't enough, when it comes to
> i18n -- I suspect we'd be better off removing the up_portlet_def_mdata
> table and the code that uses it.
>
> Text content in data can be made non-English through Import/Export: 
> if you provide data XML files in French/German/etc, the content they
> define will appear in French/German/etc when it appears in the portal.
>
> Text content defined in the source code (everything besides data) can
> be internationalized in the messages.properties files.
>
> As long as you're not trying to offer *the same* content in *multiple
> languages* at the same time, those 2 strategies should cover it.
>
> If you _are_ trying to support multiple languages in the same portal,
> it gets tougher.  I know Christian C. has a very clever card component
> that can offer the same content in multiple languages.
>
> drew
>
> drew
>
--
Julien Gribonvald

--
You received this message because you are subscribed to the Google Groups "uPortal Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/uportal-user/.
Reply | Threaded
Open this post in threaded view
|

Re: uP5 and internationalization

Vincent Repain
Hi,
Thanks Drew and Julien for the responses!

Julien is right, what I'm trying to do is to have a portal where each user could choose their own language (text and data), ideally by proposing as default language the browser's locale.
The use of the table up_portlet_def_mdata is in fact currently functional : Using the Translator portlet, I can add translations of name, title or description of existing portlets in a language choosed from those offered by the org.apereo.portal.i18n.LocaleManager.portal_locales property, the translations are recorded in the famous table, and when a user choose a language with the user-locales-selector portlets, these data are properly taken into account. What seems to be missing is the possibility to provide the translations by an other way that the UI or SQl : portlet-definition files for example...
Concerning the browser's locale, I asked the question because - I could be wrong - it seems to me that it was implemented in previous versions and I found in the code some (old ?) references to that.

Cheers,

----- Mail original -----
De: "julien gribonvald" <[hidden email]>
À: "uportal-user" <[hidden email]>
Envoyé: Vendredi 15 Mars 2019 10:17:59
Objet: Re: [uportal-user] uP5 and internationalization

Hi,

When we talk about internationalization - Vincent tell me if I'm wrong
for your case - the goal is to purpose a multilingual portal, not
partially and so not only with datas available in one language. For me
the only one part missing in the portal is on datas that everyone should
have to customize/manage.

To  be clear there is a such needs for European (not only French)
universities that accept foreign students (it's a European common
practice, at least with Erasmus program).

For me the detection of the user language preference won't be a big
problem to manage, only the spring resource message should be
reconfigured on the good way and with getting user uPortal pref. But the
main problem is on data, we need to insert it in several language and
serve it depending on the user preferred language. @Drew in non-English
speaking communities we have good acknowledge on how work i18n, trust me
;-) !

In my mind the pointed table could provide the persistent part of a such
thing, but there is a development to do before to be able to use it.
Expect if someone see an other way ?

After - it's engaging only me, and it's about what I understand, tell me
if I'm wrong - to make this development nobody will do it otherwise it
would have already been done - I think the US community doesn't have a
such need. So in my mind, those who need a such feature have to find a
way to develop it and to contribute on uPortal. So we have two choices:
contributing (and some help could be provided for the good way on how to
do it) or funding the development (we can find several ways). Expect if
someone see an other way ?

Thanks,

Julien


Le 15/03/2019 à 01:21, Drew Wills a écrit :

> Vincent,
>
> On 3/14/19 4:00 AM, Vincent Repain wrote:
>> - it appears that the use of browser locales hasn't been (yet?)
>> implemented in uPortal or has been deactivated, and that the portal
>> only uses a parameter (up_locale or something like that) or users
>> defined locales to choose a language. Could you confirm this ?
>
> I'm not certain of the answer to this question, sorry. Personally, I
> have never had an opportunity to work on a "real" uPortal
> implementation in which the UI appears in a language other than
> English.  (I would very much like to have that opportunity.)
>
> I know there's a property you can add to uPortal.properties or
> global.properties that will convert the UI to a language of your
> choosing.  I have tested & demonstrated that capability.
>
>> - I understand that data internationalization is achieved by filling
>> the up_portlet_def_mdata. Is there a way to fill this table by using
>> adequate parameters in portlet-definition files, other than by using
>> the translator portlet UI or filling directly the
>> up_portlet_def_mdata table with sql requests ?
>
> Based on what I know -- which probably isn't enough, when it comes to
> i18n -- I suspect we'd be better off removing the up_portlet_def_mdata
> table and the code that uses it.
>
> Text content in data can be made non-English through Import/Export: 
> if you provide data XML files in French/German/etc, the content they
> define will appear in French/German/etc when it appears in the portal.
>
> Text content defined in the source code (everything besides data) can
> be internationalized in the messages.properties files.
>
> As long as you're not trying to offer *the same* content in *multiple
> languages* at the same time, those 2 strategies should cover it.
>
> If you _are_ trying to support multiple languages in the same portal,
> it gets tougher.  I know Christian C. has a very clever card component
> that can offer the same content in multiple languages.
>
> drew
>
> drew
>
--
Julien Gribonvald

--
You received this message because you are subscribed to the Google Groups "uPortal Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/uportal-user/.

--
You received this message because you are subscribed to the Google Groups "uPortal Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/uportal-user/.