Recently Browsing 0 members
No registered users viewing this page.
Thought I had the language translation working but now when I attempt to access the language through the backend (Setup > Languages > My Language) it throws an error:
Recoverable Fatal Error: Argument 3 passed to ProcessWire\LanguageTranslator::textdomainTemplate() must be of the type array, null given
Can anybody shed any light on what would cause this error when trying to access my language through the settings in the backend, or attempting to view it on the frontend with its language specific URL.
The only thing I have changed recently was moving the DB to a different location however the one exported was the one that I previoulsy had my custom language working on it previoulsy.
Any ideas, im at a bit of a lose as to what would have caused this when it was working previously.
Here's my Norwegian language pack for ProcessWire. I've been adding translations over some time, to suit my own projects users needs.
Not yet complete. Translations that non-superusers will see is prioritized.
ProcessWire 3.0.77 dev
Number of files:
177 wire files and 68 site files – ranging from just started to completely translated. The site files includes translation some free and some pro modules, see the complete list in the README.md at GitHub.
Available at GitLab:
By Eunico Cornelius
Hi, I am new to process wire and I've been trying to change the date time format in my webpage according to its language selection(example: English 'd/m/y' , Deutsch: 'd.m.y'). I know that using
$datetime->getDateFormats(); we can achieve the type of formats in the shape of indexes. Also, by using
$user->language->id we can know which language we are using. How do I combine this two functions so that when I select English/Deutsch, the date will be adjusted accordingly?
Is there a specific function that can do this or is there any provided index in the $user->language somewhere. Thanks in advance :).
I am just working on a multi-language pw app. Default language is german, then comes english.
the language segment for english in the url is 'en-home' , eg. '../en-home/products', I think this was taken as a default option.
(this happened several months ago, so I do not remember exactly...).
Now I want to change this segment simply to 'en'. However, in 'Pages...Settings', only the part AFTER 'en-home' is editable, so I do not see any possibility
to change this segment. Neither do the Languages Settings offer such a possibility ;-((
Or do I miss something?