2017 © Pedro Peláez
 

project tradukoj

Translation for developers

image

jlaso/tradukoj

Translation for developers

  • Wednesday, February 14, 2018
  • by jlaso
  • Repository
  • 3 Watchers
  • 4 Stars
  • 6 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 23 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

Tradukoj, tradukoj por programistoj (translations for developers)

In esperanto TRADUKOJ means translations (and is pronounced with the stress in the U), (*1)

Please: follow @tradukoj in twitter to be updated!., (*2)

The official site of tradukoj is https://www.tradukoj.com., (*3)

1) Installing

When it comes to installing you have the following options., (*4)

As Symfony uses [Composer][2] to manage its dependencies, the recommended way to create a new project is to use it., (*5)

If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:, (*6)

curl -s http://getcomposer.org/installer | php

Then, use the create-project command to generate a new Symfony application:, (*7)

php composer.phar create-project jlaso/tradukoj path/to/install

composer create-project --repository-url=http://tradukoj.dev  jlaso/tradukoj tradukoj

Composer will install Tradukoj and all its dependencies under the path/to/install directory., (*8)

Use Composer and start virtual server

Please, note that vagrant and bindfs need to bee installed into the system, (*9)

vagrant plugin install vagrant-bindfs

if you get an error for vboxsf upping vagrant check this link, (*10)

move to vagrant folder (cd vagrant) and start vagrant machine with vagrant up, please get some coffee for the first time, (*11)

2) Checking your System Configuration

Before starting coding, make sure that your local system is properly configured for Symfony., (*12)

Execute the check.php script from the command line:, (*13)

php app/check.php

If you get any warnings or recommendations, fix them before moving on., (*14)

3) Getting started with Tradukoj

If the vagrant machine has been started successfully, you have to upload the local translations to the server (yes, it's the same machine) whith this command:, (*15)

# enter into the machine
vagrant ssh
# and run
cd /vagrant
/usr/bin/env php  app/console jlaso:translations:sync --upload-first=yes

For an unknow reason this last step can not be launched by ansible (MemoryError)., (*16)

If all works fine you can enter in the browser with the URL http://10.10.10.8, (*17)

4) Collaboration

Please, feel free to contribute, or proposal improvements., (*18)

Thank you so much to spend your time testing this project., (*19)

5) Bundles

Currently there are two bundles to communicate symfony2 projects or not with tradukoj, in order to centralize translations., (*20)

The connection between this modules and the server occurs with socket native implementation. The explanation of this solution has been explained for me in several occasions:, (*21)

Explanations in english are welcome., (*22)

References:, (*23)

Enjoy!, (*24)

The Versions