Skip to main content
GrN.dk

Main navigation

  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Drupal 8

By Greg Nowak, 24 June, 2020

Drupal 8 Change Content Language

If you have a lot of content including taxonomies and you suddenly would like to change the language of the interface it is not that easy. The current solution I use is to change the default language to your desired language and then export the database. Then replace the string 'en' with your desired language code and reimport the database.

You need to export the node and taxonomy tables only.

For example: sed "s/'en'/'sv'/g" input.sql > output.sql

Or you need to build sql queries like this, not complete list:

Tags

  • Drupal 8
By Greg Nowak, 22 June, 2020

Drupal 8 Custom Taxonomy View Hierarchy

Good info: https://drupal.stackexchange.com/questions/21459/how-to-show-terms-in-a-views-in-its-hierarchical-structure

Taxonomy term depth module: https://www.drupal.org/project/taxonomy_term_depth

Tags

  • Drupal 8
By Greg Nowak, 22 June, 2020

Drupal 8 Taxonomy Terms In Node URLs

Term hierarchies:

For content: [node:field_tags:0:entity:parents:join-path]/[node:field_tags:0:entity]/[node:title]

For taxononomy terms: [term:vocabulary]/[term:parents:join-path]/[term:name]

Tags

  • Drupal 8
By Greg Nowak, 4 November, 2016

Drupal 8 Bootstrap 3 sub theme setup

Here is a quick guide and notes for myself to be able to setup Bootstrap 3 in Drupal 8. :-)

  • Copy the sub-theme from the starterkit in the bootstrap theme folder to the sub-theme folder.
  • Rename all files to the sub-theme name.
  • Copy the info file from the boostrap theme to the sub-theme.
  • Setup the theme in /admin/appearance/settings

Tags

  • Drupal
  • Drupal 8
  • Themes
Drupal 8

Review Greg on Google

Greg Nowak Google Reviews

 

  • Portfolio
  • About Greg Nowak
  • Gregs IT and Logistics Optimization
  • Shrink PDF In Linux
  • Running Linux on T450s T495s T14, Thinkpads and Others
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.