Download the PHP package doldenroller/k3-translation-status without Composer

On this page you can find all versions of the php package doldenroller/k3-translation-status. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package k3-translation-status

Kirby Translation Status

Infosection to display all translations of a page in two lists, seperated wether the language is translated or not. By default a message is displayed if all languages are translated. Additionally the the template of the current page is displayed.

Install

Download Zip file

Copy plugin folder into site/plugins

Composer

I have no clue about the composer... but if I get right this should work. Run composer require doldenroller/kirby-translation-status.

Usage

Find and show translations of your page in the panel or use it as language switch in your blueprints.

Example

Basic setup:

With translations in Blueprint:

Translations can also be setup in your languagefiles of your setup:

More Options: With the extend: true property, the finished list is still showing when all translations are done, so you can still use it as a language switch. The template: false property hides the intended Template information.

And finally you can exclude pages by template. Either with the ignore: property like this:

This can also be setup as global option in your config

Update/Changes in v2.0

First of all Kirby4 support is added. And the active language is underlined.

The config option changed from templatestatus.ignore to doldenroller.templatestatus.ignore.

And now it is possible to delete a translated content file. This can also be disabled or restricted in the blueprint or in config. The restriction can be made that only user-roles or users can delete the translated content. By now the users are found by their e-mailadresses. Maybe UUID support will be added in the future.

In the blueprint restrictions can be set with the delete: property like this:

Or as global config-option:

In the examples above all users with theadmin user role and the user with the e-mailadress [email protected] can delete translated content.

Possible enhencements

These could be difficult but would be nice features:

  1. Update hint, that shows when content is updated
  2. Delete / reset language, because sometimes its easier to start from scratch
  3. Add user identification by user-UUID (Not my prioraty, because I mostly work without UUIDs)
  4. Refresh/update section when new translation is created
  5. Check compability with Kirby5

License

MIT

It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia animal abuse, violence or any other form of hate speech.


All versions of k3-translation-status with dependencies

PHP Build Version
Package Version
Requires getkirby/composer-installer Version ^1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package doldenroller/k3-translation-status contains the following files

Loading the files please wait ....