Giter VIP home page Giter VIP logo

openl10n-app's Introduction

OpenLocalization

Build status... Code quality... License MIT Packagist Dependency Status

OpenLocalization is a localization management web-app to help you translate any of your projects. Its goal is to provide a simple and flexible tool to easily edit and deploy your application translations.

See the official website to learn more about OpenLocalization. The following sections are a summary of the installation steps to make it works quickly. You're encouraged to read the full documentation for more details.

Warning

This project is under heavy development. Many changes on backend and frontend apps are expected. However the current release is usable and data migrations will be easy. About the database I plan to focus on PostgreSQL features and will remove the ability to use MySQL.

Due to lack of time those last weeks I prefered to work on a private fork and postpone the next release until I reach a better "minimal viable product". Don't expect to see new releases before Q4 2015.

If you're interested in the project, help is still welcomed :)

Requirements

Installation

Install PHP dependencies:

composer install

Build the front-end assets:

npm install
./node_modules/.bin/gulp build --prod

Initialize the database:

php app/console doctrine:database:create --env=prod --no-debug
php app/console doctrine:schema:create --env=prod --no-debug

Add a new user:

php app/console openl10n:user:new --env=prod --no-debug

Run the application on http://127.0.0.1:8000

php app/console server:run

License

OpenLocalization is released under the MIT License. See the bundled LICENSE file for details.

openl10n-app's People

Contributors

mattketmo avatar nchaulet avatar stof avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

openl10n-app's Issues

Ability to see untranslated messages

When you have lots of translations, it is handy to be able to filter the untranslated ones only.
The old interface has such filtering, but the new interface does not.

Find & Replace

See Transifex.

TODO :

  • define the workflow (search, display diff, edit, check, bulk action)
  • API : allow to POST several phrases in one http request for bulk actions

Optimize rendering

2 major issues with the current display of the translation page:

  • it starts by doing as many http requests than there are resources on the project. That's unusable when having lots of resources (eg. >10)
  • fetching next translations are blocking the page rendering (lag)

Idea: collapse/expand a whole resource file on click and fetch only the first page until it's expanded.

Empty index.html

Make the index.html as thin as possible. Ideally it should have an empty body, and no reference to Angular:

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>OpenLocalization</title>
  <link rel="stylesheet" href="/css/app.css">
</head>
<body>
  <script src="/js/app.js"></script>
</body>

See https://docs.angularjs.org/api/ng/function/angular.bootstrap if it could help

[branch: master] Search searches only in the first file

When you search something, the search is effective only on the first ressource.

You have to "click" on the others resources to make the search in them.

See the two screenshots:
before click
then I clicked on "home.en.yml" and then:
after click
tada ! :)

405 error on login

As the api and the UI are not on the same domain, I got a 405 error when trying to login.

I tried to open the /api/me address in my browser and there I get my personal information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.