Git Product home page Git Product logo

bcremovetranslationbundle's Introduction

BC Remove Translation

This bundle implements a solution to provide eZ Publish Platform / eZ Platform / Symfony commands to remove content location translations.

Version

  • The current version of BC Remove Translation is 0.1.1

  • Last Major update: March 07, 2017

Copyright

  • BC Remove Translation is copyright 1999 - 2017 Brookins Consulting

  • See: COPYRIGHT.md for more information on the terms of the copyright and license

License

BC Remove Translation is licensed under the GNU General Public License.

The complete license agreement is included in the LICENSE file.

BC Remove Translation is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License or at your option a later version.

BC Remove Translation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

The GNU GPL gives you the right to use, modify and redistribute BC Remove Translation under certain conditions. The GNU GPL license is distributed with the software, see the file LICENSE.

It is also available at http://www.gnu.org/licenses/gpl.txt

You should have received a copy of the GNU General Public License along with BC Remove Translation in in the LICENSE file.

If not, see http://www.gnu.org/licenses/.

Using BC Remove Translation under the terms of the GNU GPL is free (as in freedom).

For more information or questions please contact: [email protected]

Requirements

The following requirements exists for using BC Remove Translation bundle:

eZ Publish version

  • Make sure you use eZ Publish version 5.x (required) or higher.

  • Designed and tested with eZ Publish Community Project 2013.11

PHP version

  • Make sure you have PHP 5.x or higher.

Features

Commands

This solution provides the following symfony commands

  • Command: bc:rt:remove-translation

Dependencies

  • This solution depends on eZ Platform
  • This solution depends on symfony/symfony

These dependencies are documented in greater detail within the bundle's composer.json file

Use case

This solution was created to provide content location translation removal.

Installation

Bundle Installation via Composer

Run the following command from your project root to install the bundle:

bash$ composer require brookinsconsulting/bcremovetranslationbundle dev-master;

Bundle Activation

Within file app/AppKernel.php method registerBundles add the following into the $bundles = array( variable definition.

// Brookins Consulting : BcGitHubStarsBundle Requirements
new BrookinsConsulting\BcRemoveTranslationBundle\BcRemoveTranslationBundle(),

Clear the caches

Clear Symfony caches (Required).

php bin/console cache:clear;

Usage

The solution is configured to work virtually by default once properly installed.

WARNING! Remember to backup your installations database, source code and var directory content before using this solution!

Running the command

To remove content location translation run the following command and you will be prompted for required arguments

php -d memory_limit=-1 bin/console bc:rt:remove-translation;

Running the remove-translation command with locationId shell arguments

For repeated usage of the same input you can run the script more quickly using shell arguments. Simply run

php -d memory_limit=-1 bin/console bc:rt:remove-translation -v --locationId=2 --removeLanguage=eng-US;

Notice: That the command supports translation removal by locationId or contentId

Running the remove-translation command with contentId shell arguments

For repeated usage of the same input you can run the script more quickly using shell arguments. Simply run

php -d memory_limit=-1 bin/console bc:rt:remove-translation -v --contentId=42 --removeLanguage=eng-US;

Testing

The solution is configured to work once properly installed and configured.

Note: At the time of writing xss testing has not been implemented nor proper unit testing.

Troubleshooting

Read the FAQ

Some problems are more common than others. The most common ones are listed in the the Resources/doc/FAQ.md

Support

If you have find any problems not handled by this document or the FAQ you can contact Brookins Consulting through the support system: http://brookinsconsulting.com/contact

bcremovetranslationbundle's People

Contributors

brookinsconsulting avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

ronanl

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.