nerdvana-ro / varena-abandoned

Varena is a website program for hosting programming problems.
GNU Affero General Public License v3.0
6 stars 5 forks source link

Varena

Varena is a website program for hosting programming problems. It is based on mule, a very lightweight framework.

Installation and contributions

For simplicity, we will not follow the normal development process (fork -> modify -> commit -> submit a pull request). Instead, we will add contributors to the organization so they can work on this repository. If you are familiar with forks and pull requests, you are welcome to do that too.

Localization (for users)

To use Varena in your language, you need three things:

Localization (for programmers)

We'd like to keep up with localization. You don't need to do the translation yourself, but we'd appreciate it if you tagged the strings that need be localized.

You can use sprintf in both PHP and Smarty so you can localize parametric sentences:

    {"User %s obtained %d points."|_|sprintf:"John":"100"}

Note that this syntax does not allow for changes in argument orders between languages. We'll try to live with it.

Localization (for translators)

We use poedit for translation. It needs some light customization for the Smarty syntax (poedit doesn't know it by default).

To do the actual translation: