forked from uPortal-Project/uPortal
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/support-java-9
- Loading branch information
Showing
24 changed files
with
464 additions
and
433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Internationalization | ||
|
||
uPortal provides internationalization features. There are three aspects to implementing support for | ||
another language in the portal: the uPortal (Spring) _MessageSource_, _uPortal Data_, and _Content | ||
Modules_. | ||
|
||
## uPortal MessageSource | ||
|
||
uPortal provides support for internationalizing UI strings through a Spring `MessageSource`. | ||
uPortal comes with several languages available, but you can add your own (or update an existing | ||
one) by adding a `Messages_{code}.properties` file in the classpath at `/properties/i18n/` where | ||
{code} is the two-character country code (e.g. 'fr' for French and 'de' for German). | ||
|
||
Use the `org.apereo.portal.i18n.LocaleManager.portal_locales` property to define the languages | ||
available in the portal. Add this property to either `uPortal.properties` or `global.properties`. | ||
|
||
### Portal Locales Example | ||
|
||
```properties | ||
org.apereo.portal.i18n.LocaleManager.portal_locales=fr_FR | ||
``` | ||
|
||
This value will limit the portal to _French_. | ||
|
||
## uPortal Data | ||
|
||
_TBD._ | ||
|
||
## Content Modules | ||
|
||
_TBD._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.