This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from vivo-project/sprint-i18n
Merge sprint/i18n into main. Resolves https://jira.lyrasis.org/browse/VIVO-1958 in conjunction with: vivo-project/VIVO-languages#94 vivo-project/VIVO#215 vivo-project/Vitro#209
- Loading branch information
Showing
104 changed files
with
5,712 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,9 @@ utilities/rdbmigration/.work | |
**/.idea | ||
**/*.iml | ||
**/target | ||
*~ | ||
|
||
*~ | ||
|
||
**/overlays | ||
|
||
|
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,212 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<artifactId>vitro-languages-core</artifactId> | ||
<version>1.11.2-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
|
||
<name>Vitro Languages CORE</name> | ||
<description>Vitro Languages</description> | ||
<url>http://vivoweb.org/</url> | ||
|
||
<parent> | ||
<groupId>org.vivoweb</groupId> | ||
<artifactId>vitro-languages</artifactId> | ||
<version>1.11.2-SNAPSHOT</version> | ||
</parent> | ||
|
||
<licenses> | ||
<license> | ||
<name>BSD 3-Clause License</name> | ||
<url>https://raw.github.com/vivo-project/VIVO/develop/LICENSE</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<developers> | ||
<developer> | ||
<name>Graham Triggs</name> | ||
<email>gtriggs@duraspace.org</email> | ||
<organization>DuraSpace</organization> | ||
<organizationUrl>http://vivoweb.org/</organizationUrl> | ||
</developer> | ||
<developer> | ||
<name>Jim Blake</name> | ||
<email>jeb228@cornell.edu</email> | ||
<organization>Cornell University Library</organization> | ||
<organizationUrl>https://github.com/j2blake</organizationUrl> | ||
</developer> | ||
<developer> | ||
<name>John Fereira</name> | ||
<email>jaf30@cornell.edu</email> | ||
<organization>Cornell University</organization> | ||
<organizationUrl>https://github.com/fereira</organizationUrl> | ||
</developer> | ||
</developers> | ||
|
||
<!-- | ||
The SCM repository location is used by Continuum to update against | ||
when changes have occurred. This spawns a new build cycle and releases | ||
snapshots into the snapshot repository below. | ||
--> | ||
<scm> | ||
<connection>scm:git:git@github.com:vivo-project/Vitro-languages.git</connection> | ||
<developerConnection>scm:git:git@github.com:vivo-project/Vitro-languages.git</developerConnection> | ||
<url>git@github.com:vivo-project/Vitro-languages.git</url> | ||
<tag>HEAD</tag> | ||
</scm> | ||
|
||
<properties> | ||
<vitro-version>${project.version}</vitro-version> | ||
<vivo-dir>${basedir}</vivo-dir> | ||
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format> | ||
<build.timestamp>${maven.build.timestamp}</build.timestamp> | ||
<maven-site-plugin.skip>false</maven-site-plugin.skip> | ||
<stagingBase>/</stagingBase> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<modules> | ||
<module>webapp</module> | ||
</modules> | ||
|
||
<profiles> | ||
<profile> | ||
<id>release-sign-artifacts</id> | ||
<activation> | ||
<property> | ||
<name>performRelease</name> | ||
<value>true</value> | ||
</property> | ||
</activation> | ||
<build> | ||
<plugins> | ||
<!-- plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<quiet>true</quiet> | ||
<additionalparam>${javadoc.opts}</additionalparam> | ||
</configuration> | ||
</plugin --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<goals> | ||
<goal>jar-no-fork</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<serverId>ossrh</serverId> | ||
<nexusUrl>https://oss.sonatype.org/</nexusUrl> | ||
<autoReleaseAfterClose>true</autoReleaseAfterClose> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>buildnumber-maven-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<phase>validate</phase> | ||
<goals> | ||
<goal>create</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<doCheck>false</doCheck> | ||
<doUpdate>false</doUpdate> | ||
<shortRevisionLength>7</shortRevisionLength> | ||
<revisionOnScmFailure>Detached</revisionOnScmFailure> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.vivoweb</groupId> | ||
<artifactId>vitro-languages-webapp-en_US</artifactId> | ||
<version>${project.version}</version> | ||
<type>war</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.vivoweb</groupId> | ||
<artifactId>vitro-languages-webapp-de_DE</artifactId> | ||
<version>${project.version}</version> | ||
<type>war</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.vivoweb</groupId> | ||
<artifactId>vitro-languages-webapp-es</artifactId> | ||
<version>${project.version}</version> | ||
<type>war</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.vivoweb</groupId> | ||
<artifactId>vitro-languages-webapp-fr_CA</artifactId> | ||
<version>${project.version}</version> | ||
<type>war</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.vivoweb</groupId> | ||
<artifactId>vitro-languages-webapp-pt_BR</artifactId> | ||
<version>${project.version}</version> | ||
<type>war</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.vivoweb</groupId> | ||
<artifactId>vitro-languages-webapp-en_CA</artifactId> | ||
<version>${project.version}</version> | ||
<type>war</type> | ||
</dependency> | ||
</dependencies> | ||
|
||
<distributionManagement> | ||
<site> | ||
<id>vivo-project</id> | ||
<url>https://vivo-project.github.io/</url> | ||
</site> | ||
<snapshotRepository> | ||
<id>ossrh</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
</snapshotRepository> | ||
<repository> | ||
<id>ossrh</id> | ||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
</distributionManagement> | ||
</project> |
File renamed without changes.
File renamed without changes.
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,47 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.vivoweb</groupId> | ||
<artifactId>vitro-languages-webapp-core</artifactId> | ||
<version>1.11.2-SNAPSHOT</version> | ||
<packaging>war</packaging> | ||
|
||
<parent> | ||
<groupId>org.vivoweb</groupId> | ||
<artifactId>vitro-languages-core</artifactId> | ||
<version>1.11.2-SNAPSHOT</version> | ||
<relativePath>..</relativePath> | ||
</parent> | ||
|
||
<name>Vitro Languages for Web App CORE</name> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-war-plugin</artifactId> | ||
<configuration> | ||
<failOnMissingWebXml>false</failOnMissingWebXml> | ||
<packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes> | ||
<archiveClasses>false</archiveClasses> | ||
<archive> | ||
<manifest> | ||
<addClasspath>true</addClasspath> | ||
</manifest> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-clean-plugin</artifactId> | ||
<configuration> | ||
<filesets> | ||
<fileset> | ||
<directory>overlays</directory> | ||
</fileset> | ||
</filesets> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
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,21 @@ | ||
/.build/ | ||
/deploy.properties | ||
/build.properties | ||
/runtime.properties | ||
/ontology/public/catalog-v0001.xml | ||
|
||
rdf/auth/firsttime/test-user-model.owl | ||
utilities/solrtester/.work | ||
utilities/rdbmigration/.work | ||
|
||
**/.idea | ||
**/*.iml | ||
**/target | ||
|
||
**/overlays | ||
|
||
# Eclipse artifacts | ||
**/.settings | ||
**/.classpath | ||
**/.project | ||
**/bin/ |
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,25 @@ | ||
Vitro-languages | ||
=============== | ||
|
||
Files that enable Vitro (and by extension, VIVO) to operate in languages beyond American English. | ||
|
||
Available language files | ||
------------------------ | ||
|
||
At present, VIVO has been translated into German, Spanish, and Portuguese. You may find the relevant files for each language by searching for files containing _de_DE, _es, and _pt_BR respectively. English uses the prefix _en_US. | ||
|
||
Using the language files | ||
------------------------ | ||
|
||
If the files you want already exist here, you can add them to your VIVO instance by | ||
following the instructions in the VIVO wiki for [Adding a language to VIVO][1]. | ||
|
||
If the files for your desired language do not exist then you may use the files in this repository as a | ||
starting point for doing the translations yourself. Search for the required files for any of the language prefixes above (e.g. _en_US), copy the files, and rename your new files using the appropriate language code [prefix][2]. Please send a note to [the VIVO Tech group][3] | ||
to find out if someone else is already working on a translation. | ||
|
||
If you create a translation, please consider contributing your language files to the VIVO community. | ||
|
||
[1]: https://wiki.duraspace.org/display/VIVODOC110x/Internationalization#Internationalization-AddinganexistinglanguagetoyourVIVOsite | ||
[2]: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes | ||
[3]: mailto:vivo-tech@googlegroups.com |
Oops, something went wrong.