The story started 4 years ago when, in the hallway of a hotel in London where eZ Conference and Awards 2011 was being held, Ekkehard Dörre suggested that the newly released 1.0 version of eZ Tags legacy extension should support multilanguage tags. The idea was great and I started the development soon after that. It turned out that certain things were not that easy to implement and quickly it became evident that the development will need to slow down. Couple that with my regular responsibilities at Netgen and eZ Tags became somewhat less relevant. In the last 4 years, I have worked on eZ Tags for short periods of time every couple of months and kept the project going, little by little perfecting the multilanguage branch.
Then two years ago came TagsBundle. At first, it only supported 1.x (regular) version of eZ Tags legacy. The development of the bundle was fairly regular and active. A couple of months ago it became apparent that I will need to implement multilanguage in TagsBundle too, so I took some time couple of weeks ago to implement multilanguage support, and together with the new version of TagsBundle to finally release eZ Tags legacy extension as stable.
All you need to do in order to get the latest version of TagsBundle and eZ Tags legacy is to run the following from your eZ Publish 5 root folder:
<span>$ </span>composer require netgen<span>/</span>tagsbundle ~<span>2.0</span>
After that, follow installation instructions of TagsBundle and eZ Tags legacy to get both of them up and running in eZ Publish. Installation instructions for both TagsBundle and eZ Tags legacy are pretty straightforward: activating the bundle in eZ Publish kernel file, importing the routes in main routing file, activating the extension in site.ini.append.php and importing database tables in your eZ Publish database.
Upgrading is a bit more specific. You will have to import SQL file to upgrade the database schema, located in eZ Tags legacy extension:
<span>$ </span>mysql <span>-u</span> root <span>-p</span> mydb <span><</span> ezpublish_legacy<span>/</span>extension<span>/</span>eztags<span>/</span>update<span>/</span>database<span>/</span>mysql<span>/</span><span>2.0</span><span>/</span>eztags-dbupdate-<span>1.4</span>-to-<span>2.0</span>.sql
as well as run the legacy upgrade script to convert existing tags to multilanguage variant:
<span>$ </span>php ezpublish<span>/</span>console ezpublish:legacy:script extension<span>/</span>eztags<span>/</span>update<span>/</span>common<span>/</span>scripts<span>/</span><span>2.0</span><span>/</span>initializetagtranslations.php <span>--locale</span>=cro-HR
You will, of course, need to specify which locale will be the starting one, as shown in the example above.
Naturally, you're invited to contribute to both repos or report any issues you find :)