PHPackages                             brookinsconsulting/bcchangesubtreelanguage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. brookinsconsulting/bcchangesubtreelanguage

ActiveEzpublish-legacy-extension[CLI &amp; Console](/categories/cli)

brookinsconsulting/bcchangesubtreelanguage
==========================================

eZ Publish Legacy extension which provides a basic but flexible solution for quick and simple changing of a subtree of node objects primary language. Great for developers!

16PHP

Since Mar 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/brookinsconsulting/bcchangesubtreelanguage)[ Packagist](https://packagist.org/packages/brookinsconsulting/bcchangesubtreelanguage)[ RSS](/packages/brookinsconsulting-bcchangesubtreelanguage/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

BC Change Subtree Language
==========================

[](#bc-change-subtree-language)

This extension provides a basic but flexible solution for quick and simple changing of a subtree of node objects primary language. Great for developers!

Version
=======

[](#version)

- The current version of BC Change Subtree Language is 0.1.1
- Last Major update: March 06, 2017

Copyright
=========

[](#copyright)

- BC Change Subtree Language is copyright 1999 - 2017 Brookins Consulting and Andreas Adelsberger
- See: [COPYRIGHT.md](COPYRIGHT.md) for more information on the terms of the copyright and license

License
=======

[](#license)

BC Change Subtree Language is licensed under the GNU General Public License.

The complete license agreement is included in the [LICENSE](LICENSE.md) file.

BC Change Subtree Language 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 Change Subtree Language 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 Change Subtree Language under certain conditions. The GNU GPL license is distributed with the software, see the file LICENSE.

It is also available at

You should have received a copy of the GNU General Public License along with BC Change Subtree Language in LICENSE.

If not, see .

Using BC Change Subtree Language under the terms of the GNU GPL is free (as in freedom).

For more information or questions please contact:

Requirements
============

[](#requirements)

The following requirements exists for using BC Change Subtree Language extension:

### eZ Publish version

[](#ez-publish-version)

- Make sure you use eZ Publish version 5.x (required) or higher.
- Designed and tested with eZ Publish Platform 5.4

### PHP version

[](#php-version)

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

Features
========

[](#features)

This solution provides the following features:

- Command line script

Dependencies
============

[](#dependencies)

This solution depends on eZ Publish Legacy only

Installation
============

[](#installation)

### Bundle Installation via Composer

[](#bundle-installation-via-composer)

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

```
bash$ composer require brookinsconsulting/bcchangesubtreelanguage dev-master;

```

### Extension Activation

[](#extension-activation)

Optional. Activate this extension by adding the following to your `settings/override/site.ini.append.php`:

```
[ExtensionSettings]
#
ActiveExtensions[]=bcchangesubtreelanguage

```

### Clear the caches

[](#clear-the-caches)

Optional. Clear eZ Publish Platform / eZ Publish Legacy caches (Required).

```
php ./bin/php/ezcache.php --clear-all;

```

Usage
=====

[](#usage)

The solution is configured by the command line script arguments passed to it at runtime.

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

Usage - Command line script
===========================

[](#usage---command-line-script)

Note: This script must be run using **only** the admin siteaccess!

Change directory into eZ Publish website document root:

```
cd path/to/ezpublish/ezpublish_legacy/;

```

Run the script in test only mode to generate a limited report of the changes which might be made.

```
php ./extension/bcchangesubtreelanguage/bin/php/bcchangesubtreelanguage.php -s site_admin --script-verbose=true --parent-node-id=2 --content-class-identifier=folder --locale-identifier=eng-US --test-only;

```

Run the script normally to re-assign the content object tree default language and remove all other content object translations.

```
php ./extension/bcchangesubtreelanguage/bin/php/bcchangesubtreelanguage.php -s site_admin --script-verbose=true --parent-node-id=2 --content-class-identifier=folder --locale-identifier=eng-US;

```

Troubleshooting
===============

[](#troubleshooting)

### Read the FAQ

[](#read-the-faq)

Some problems are more common than others. The most common ones are listed in the the [doc/FAQ.md](doc/FAQ.md)

### Support

[](#support)

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

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fda10bb840bcf345ab87d5ec5bd7c79da0be8858fc1b754db272ca1fc45e49e2?d=identicon)[brookinsconsulting](/maintainers/brookinsconsulting)

---

Top Contributors

[![brookinsconsulting](https://avatars.githubusercontent.com/u/617031?v=4)](https://github.com/brookinsconsulting "brookinsconsulting (1 commits)")

---

Tags

clicommand-lineezpublishezpublishlegacyezpublishplatformlanguagephpscripttranslation

### Embed Badge

![Health badge](/badges/brookinsconsulting-bcchangesubtreelanguage/health.svg)

```
[![Health](https://phpackages.com/badges/brookinsconsulting-bcchangesubtreelanguage/health.svg)](https://phpackages.com/packages/brookinsconsulting-bcchangesubtreelanguage)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M319](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M18](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
