Skip to content

Latest commit

 

History

History
59 lines (52 loc) · 1.46 KB

Readme.md

File metadata and controls

59 lines (52 loc) · 1.46 KB

TYPO3 migration tools

Tools for migrating TYPO3 sites

Are TYPO3 migration tools helping you to migrate your TYPO3 site more smoothly?

Then please consider a sponsorship so I can make this tool even more awesome!

Thank you! ♥

Requirements

The tool requires PHP 5.6 or higher to run.

Installation

Download the latest version from: https://github.com/Tuurlijk/typo3migrate/releases

Or install using composer (skip the init step if you're installing it into an existing project):

composer init
composer require --update-no-dev  "michielroos/typo3migrate:*"

Usage

Current tools:

  • xml2xlf
  • fluidNsToHtml

Convert xml to xlf

Convert a xmllang file to xlf.

php ./typo3migrate.phar xml2xlf ~/tmp/localllang_db.xml

Or all files in a folder:

php ./typo3migrate.phar xml2xlf ~/tmp/Language

Convert old Fluid namespaces

Convert old Fluid namespaces {brace style} to html tag with attributes.

{namespace f=TYPO3\CMS\Fluid\ViewHelpers}
<section>
</section>

Will become:

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
	  data-namespace-typo3-fluid="true">
<section>
</section>
</html>

Convert a single file:

php ./typo3migrate.phar fluidNsToHtml ~/tmp/Template.html

Or all files in a folder:

php ./typo3migrate.phar fluidNsToHtml ~/tmp/Templates/