Skip to content

Instantly share code, notes, and snippets.

View diqidoq's full-sized avatar

dqd (formerly diqidoq) diqidoq

View GitHub Profile
@diqidoq
diqidoq / Refine-settings-flexibility-and-coherences-between-translatable-areas.md
Last active April 21, 2026 10:22
Drupal: Refine settings, flexibility and coherences between translatable areas

Coming from here, here and here (and before starting a new issue on D.O.) comes my query to the community: Do we need another META or initiative of tasks?

Intro

Drupal has grown into a fantastic multi-langue platform with tons of possibilities and detection methods to manage large multi-language projects. With all the features comes a certain challenge regarding UX and there has been done a lot already over the years in multiple initiatives. From my POV Drupal is unmatched in this field out of the box already. But with all the options at hand, things can interfer with each other in unexpected ways and can make it hard to understand or distinguish where and how to set up. More often then rarely this leads to the assumption that there's a setting m

@diqidoq
diqidoq / split_cue_flac_to_single_flac_files.py
Last active October 5, 2018 13:19 — forked from bancek/cue_to_mp3.py
CUE splitter using ffmpeg (to mp3)
cue_file = 'file.cue'
d = open(cue_file).read().splitlines()
general = {}
tracks = []
current_file = None
@diqidoq
diqidoq / author_picture_user_picture_occurence.sh
Last active November 30, 2017 07:15
Occurrence of author_picture, user_picture and respective settings in Drupal 8.5.x-dev
/drupal (8.5.x=) $ grep -rnw -e "author_picture"
core/themes/bartik/templates/node.html.twig:23: * - author_picture: The node author user entity, rendered using the "compact"
core/themes/bartik/templates/node.html.twig:92: {{ author_picture }}
core/themes/stable/templates/content/node.html.twig:23: * - author_picture: The node author user entity, rendered using the "compact"
core/themes/stable/templates/content/node.html.twig:85: {{ author_picture }}
core/themes/classy/templates/content/node.html.twig:23: * - author_picture: The node author user entity, rendered using the "compact"
core/themes/classy/templates/content/node.html.twig:96: {{ author_picture }}
core/modules/node/templates/node.html.twig:23: * - author_picture: The node author user entity, rendered using the "compact"
core/modules/node/templates/node.html.twig:87: {{ author_picture }}
core/modules/node/node.module:639: $variables['author_picture'] = user_view($node->getOwner(), 'compact');