2017 © Pedro Peláez
 

project translator-symfony-demo-google-to-yml

Spreadsheet Translator. Symfony Demo Application. Takes a Google Drive spreadhseet file and creates a translation file per locale in Yml format

image

atico/translator-symfony-demo-google-to-yml

Spreadsheet Translator. Symfony Demo Application. Takes a Google Drive spreadhseet file and creates a translation file per locale in Yml format

  • Tuesday, May 15, 2018
  • by samuelvi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Spreadsheet Translator Symfony Demo Application - Use Case

Introduction

Lightweight Symfony Demo Application for the Spreadsheet Translator functionallity. The demo brings a command that takes a Google Drive spreadhseet file and creates a translation file per locale in Php format., (*1)

Installation

composer create-project atico/translator-symfony-demo-google-to-yml, (*2)

This will install the demo application into your computer, (*3)

The source demo spreadsheet file is located at https://docs.google.com/spreadsheets/d/1HCpvamO2eHRV2oeMgmSj9WD_AfCc6gPHUi2aFyjSsR8/edit#gid=0, (*4)

Running the demo

type in you terminal: bin/console atico:demo:translator --sheet-name=common, (*5)

This command will generate the translation files that will be stored into app/translations folder., (*6)

The generated files will be:, (*7)

  app
  |
  └───Resources
     │
     └──translations
         │  demo_common.en_GB.php
         │  demo_common.es_ES.php   
         │  demo_common.fr_FR.php

demo_common.en_GB.yml will contain:, (*8)

  <?php
  return array (
    'homepage_title' => 'Spreadsheet translator',
    'homepage_subtitle' => 'Translator of web pages from spreadsheets',
  );

Notes

composer.json will include the following Spreadsheet Translator dependencies:, (*9)

  "atico/spreadsheet-translator-core": "^1.0",
  "atico/spreadsheet-translator-symfony-bundle": "^1.0",
  "atico/spreadsheet-translator-provider-googledrive": "^1.0",
  "atico/spreadsheet-translator-reader-xlsx": "^1.0",
  "atico/spreadsheet-translator-exporter-yml": "^1.0",

Symfony Bundle: - Symfony Bundle, (*10)

Symfony Demos:, (*11)

Requirements

  • PHP >=5.5.9
  • Symfony ~2.3|~3.0

Contributing

We welcome contributions to this project, including pull requests and issues (and discussions on existing issues)., (*12)

If you'd like to contribute code but aren't sure what, the issues list is a good place to start. If you're a first-time code contributor, you may find Github's guide to forking projects helpful., (*13)

All contributors (whether contributing code, involved in issue discussions, or involved in any other way) must abide by our code of conduct., (*14)

License

Spreadsheet Translator Symfony Bundle is licensed under the MIT License. See the LICENSE file for full details., (*15)

The Versions

15/05 2018

dev-master

9999999-dev

Spreadsheet Translator. Symfony Demo Application. Takes a Google Drive spreadhseet file and creates a translation file per locale in Yml format

  Sources   Download

MIT

The Requires

 

15/05 2018

1.0.4

1.0.4.0

Spreadsheet Translator. Symfony Demo Application. Takes a Google Drive spreadhseet file and creates a translation file per locale in Yml format

  Sources   Download

MIT

The Requires

 

12/05 2018

1.0.3

1.0.3.0

Spreadsheet Translator. Symfony Demo Application. Takes a Google Drive spreadhseet file and creates a translation file per locale in Yml format

  Sources   Download

MIT

The Requires