Recently Browsing 0 members
No registered users viewing this page.
By Noel Boss
Hi everyone 🙌
Is there a way to order the language tabs in the backend? Currently, they seem to be ordered based on the created date (or id?) …
( time passes … ⏰ 🚶♂️)
Just answered my own question. One can reorder the languages in the page tree under admin » languages or directly in the DB » pages » template_id=54 » sord field.
Anyone knows if there are side effects when moving the default language from sort 0 to somewhere higher?
Wouldn’t it be cool to have whole repeater items (or even repeater matrix items) language-specific. Some of my clients do have pages that are 90% identical in German and English, but there are some sections that should not appear in one or another language. I attached a concept screenshot.
Would something like this be possible with some simple backend hooks and "hidden checkbox fields"? Or is it way more complicated?
This is not directly about language module but I think I can get information from you.
Can I add a vendor module to have all languages written automatically into name?
I used this vendor module which is good with any language (hebrew, arabic...). How could I add it, so admin interface can use it ?
recently i came across this issue.
Basically, I am using TemplateEngineBlade module which allows me to use Blade templating engine in my templates. I needed to translate strings like '__(<your string>)', but since the module compiles the templates into its own directory (as highlighted in screenshots), the language translator find the function call in 2 files:
Template where the code is written Modules 'compiled'/cache directory where the templates are in their compiled state Now, I actually have to translate the string in its compiled directory else it doesn't work at all. But since that filename changes often it is not usable at all.
I tryed prepending all templates with a file (for example _init.php) and getting all translatable strings there which works but not for the use cases where i need to get same string translated in multiple languages in a single page - I would have to create separate variables.
Does anyone have any idea which would help me work around my issue?
By Peter Knight
I have a dropdown menu which displays a list of languages installed on my site.
Id like to add some country flags to the menu list items and the simplest way would be to add an image field to the languages template which is installed in the settings branch.
However it seems like this system template won't accept new fields but isn't locked. Is there a way to extend this template to accept new fields?