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.
Localization of VIVO into Serbian (Latin script) (#55)
* Initial commit * fixed all requested changes * Implemented changes requested by lidijaivanovic * Changed pom.xml version within sr_Latn_RS to 1.12.3-SNAPSHOT * Since a new pom.xml file was added, I added sr_Latn_RS configuration * Renamed ftl files to have sr_Latn_RS extention instead of sr_RS
- Loading branch information
1 parent
da584fb
commit b4d7d75
Showing
17 changed files
with
1,695 additions
and
1 deletion.
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,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 |
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,202 @@ | ||
<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-sr_Latn_RS</artifactId> | ||
<packaging>pom</packaging> | ||
|
||
<name>Vitro Languages sr_Latn_RS</name> | ||
<description>Vitro Languages</description> | ||
<url>http://vivoweb.org/</url> | ||
|
||
<licenses> | ||
<license> | ||
<name>BSD 3-Clause License</name> | ||
<url>https://raw.github.com/vivo-project/VIVO/develop/LICENSE</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<!-- | ||
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> | ||
|
||
<build> | ||
<pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<version>3.1.1</version> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-clean-plugin</artifactId> | ||
<version>3.1.0</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>3.1.2</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>1.6</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>3.1.0</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-war-plugin</artifactId> | ||
<version>3.2.3</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>build-helper-maven-plugin</artifactId> | ||
<version>3.0.0</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>buildnumber-maven-plugin</artifactId> | ||
<version>1.4</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<version>1.6.8</version> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
</build> | ||
|
||
<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> | ||
<parent> | ||
<groupId>org.vivoweb</groupId> | ||
<artifactId>vitro-languages</artifactId> | ||
<version>1.12.3-SNAPSHOT</version> | ||
</parent> | ||
<version>1.12.3-SNAPSHOT</version> | ||
<groupId>org.vivoweb</groupId> | ||
</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,12 @@ | ||
#!/bin/sh | ||
|
||
if [ -z "$1" ] | ||
then | ||
echo 'New version number required eg. 1.11.0-RC-1' | ||
exit 1 | ||
fi | ||
|
||
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$1 | ||
cd installer | ||
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$1 | ||
cd .. |
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 @@ | ||
#!/bin/bash | ||
# RC Script for languages | ||
|
||
RC_VERSION=1.11.1 | ||
RC_NUM=1 | ||
|
||
git checkout master | ||
git pull | ||
git push origin master:rel-${RC_VERSION}-RC | ||
|
||
|
||
git checkout rel-${RC_VERSION}-RC | ||
git tag -a "rel-${RC_VERSION}-RC-${RC_NUM}" -m "rel-${RC_VERSION}-RC-${RC_NUM}" | ||
git push origin --tags | ||
|
||
|
||
# Created Branch and Tag Examples | ||
# (Branch) https://github.com/vivo-project/Vitro-languages/tree/rel-1.11.1-RC | ||
# (Tag) https://github.com/vivo-project/Vitro-languages/tree/rel-1.11.1-RC-1 | ||
# (Branch) https://github.com/vivo-project/VIVO-languages/tree/rel-1.11.1-RC | ||
# (Tag) https://github.com/vivo-project/VIVO-languages/tree/rel-1.11.1-RC-1 |
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-sr_Latn_RS</artifactId> | ||
<version>1.12.3-SNAPSHOT</version> | ||
<packaging>war</packaging> | ||
|
||
<parent> | ||
<groupId>org.vivoweb</groupId> | ||
<artifactId>vitro-languages-sr_Latn_RS</artifactId> | ||
<version>1.12.3-SNAPSHOT</version> | ||
<relativePath>..</relativePath> | ||
</parent> | ||
|
||
<name>Vitro Languages for Web App sr_Latn_RS</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> |
Oops, something went wrong.