Jump to content

The problem with installation LanguageSupport module while using RockMigrations


Clarity
 Share

Recommended Posts

Hi @Clarity I'm always using this snippet:

<?php
// install german language pack for the default language
// this will install language support, download the ZIP and install it
$rm->setLanguageTranslations('DE');
$rm->installModule('LanguageSupportFields');
$rm->installModule('LanguageSupportPageNames');
$rm->installModule('LanguageTabs');
$rm->setFieldData('title', ['type' => 'textLanguage']);

I do that once and then comment everything out so that it does not run on every migration. Once I have the files in the project I simply git push them to live.

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...