-
Posts
326 -
Joined
-
Last visited
Posts posted by Manfred62
-
-
in MarkupCookieConsent.config.php
line 54, 55
'dark' => __('dark (Default)'), 'light' => __('light')
line 66, 67
'top' => __('top'), 'bottom' => __('bottom (Default)')
- 1
-
Hi Can
works nice and translation in default language works also (except 2 strings).
Additional you can make line 54, 55, 66, 67 translateable.
Line 98 and 217 is not working.
When using single quotes, it works but without the newline \n
-
Has someone used this in combination with PW 3.0.8?
No problems here in 3.0.8. Have you installed the files into the default language or made a second language? In default you only have to reload the page. If you are using another language, then you have to set it in the user profile.
-
bad weather, lot of time...
here you find the german lang pack for PW devns
- 7
-
Is your nl lang-pack installed correctly? Do you see translated strings in the backend? Try to reload your backend.
-
sidebar:
hmm, font-size 12px in the sidebar ul is not very user-friendy. Hard to pick with the cursor.
Depending on the changing background-images the color contrast is low (#2ba6cb).
images:
In the screenshot above the small images are round. At the site the images are square. Getting round with hover. Intentional?
Around width smaller 1230px there's no more background image, only dark-grey color.
Tested with Win 7, Firefox 42
-
I'm nearly ready with the german translation for PW 2.7. I found 3 files where we didn't translated the date format until now. Normally the format for german is used as d.m.Y instead of Y-m-d. In this old thread it sounds like the format has to be in Y-m-d? Could someone clarify this?
InputfieldSelector.module
Y-m-d
date format
yyyy-mm-dd
date format placeholder (what users see)
==================
InputfieldPageTable.module
Y-m-d H:i
Date format for created/modified/published
==================
LanguageSupport.module
Y-m-d H:i:s
Sortable date format used in the admin -
... I did add AdminThemeRenoHelpers.php for translation and added translations for strings I needed - the strings still appear in English. I can easilly translate strings from the core files like admin.php. What can it be?
maybe this is the same issue?
- 1
-
It would be nice to update the system notification settings for the order with other descriptions. With the current translation it's really hard to differ what means what. I'd rather use something like "newest first" or "oldest first", which makes clear which notifications will be above others.
changed to "Neueste zuerst" and "Älteste zuerst"
- 1
-
I can confirm this. But it's no problem of language files? Opened a new issue at GitHub.
https://github.com/ryancramerdesign/ProcessWire/issues/1415
EDIT: now fixed by Ryan
- 1
-
thanks for the hint. There are 2 new files to translate in 2.6.17. Translation updates are now available (https://github.com/Manfred62/pw-lang-de-dev).
The "Edit" must first be added in the wire/templates-admin/default.php to get translated. In my translation file it's already included.
See GitHub: https://github.com/ryancramerdesign/ProcessWire/issues/1397
- 2
-
maybe you overlooked the name of the fields (eg PostTitle vs BlogTitle)?
Code with some html:
<?php foreach($page->BlogPosts as $c) { echo "<h3>{$c->PostTitle}</h3>"; echo "<p>{$c->PostContent}</p>"; } ?>
-
German language files for PW dev are now on new/other repo: https://github.com/Manfred62/pw-lang-de-dev. Only updated or additional files in this repo.
Install the german language pack for PW master. Then add/replace with the dev files.
- 2
-
Hi Chris,
no solution here. But maybe a simple alternative: Lightwire Skin. That's a module, ready to use.
-
-
@Tom
found some small issues with translations: https://github.com/ryancramerdesign/ProcessWire/issues/1291
-
Hi Marek,
there's no easy way for doing translations in PW. Actually you have to go through all files, step by step. Maybe you can start with the old 2.2 files and correct or complete them.
The stable version 2.6.1 has 138 translatable files. The dev 2.6.x has 141 files. 9 files are not translatable or not needed.
here's a list of all translatable files (PW stable):
wire--core--admintheme-php.json wire--core--field-php.json wire--core--fieldgroups-php.json wire--core--fields-php.json wire--core--fieldselectorinfo-php.json wire--core--fieldtype-php.json wire--core--fieldtypemulti-php.json wire--core--filevalidatormodule-php.json wire--core--functions-php.json wire--core--inputfield-php.json wire--core--inputfieldwrapper-php.json wire--core--modules-php.json wire--core--modulesduplicates-php.json wire--core--pageimage-php.json wire--core--pages-php.json wire--core--paginatedarray-php.json wire--core--password-php.json wire--core--process-php.json wire--core--sanitizer-php.json wire--core--session-php.json wire--core--sessioncsrf-php.json wire--core--wirecache-php.json wire--core--wirehttp-php.json wire--core--wiretempdir-php.json wire--core--wireupload-php.json wire--modules--admintheme--adminthemedefault--adminthemedefault-module.json wire--modules--admintheme--adminthemereno--adminthemereno-module.json wire--modules--admintheme--adminthemereno--adminthemerenohelpers-php.json wire--modules--admintheme--adminthemereno--debug-inc.json wire--modules--admintheme--adminthemereno--default-php.json wire--modules--fieldtype--fieldtypecomments--commentfilterakismet-module.json wire--modules--fieldtype--fieldtypecomments--commentform-php.json wire--modules--fieldtype--fieldtypecomments--commentlist-php.json wire--modules--fieldtype--fieldtypecomments--commentnotifications-php.json wire--modules--fieldtype--fieldtypecomments--fieldtypecomments-module.json wire--modules--fieldtype--fieldtypecomments--inputfieldcommentsadmin-module.json wire--modules--fieldtype--fieldtypedatetime-module.json wire--modules--fieldtype--fieldtypefieldsettabopen-module.json wire--modules--fieldtype--fieldtypefile-module.json wire--modules--fieldtype--fieldtypefloat-module.json wire--modules--fieldtype--fieldtypeinteger-module.json wire--modules--fieldtype--fieldtypemodule-module.json wire--modules--fieldtype--fieldtypeoptions--fieldtypeoptions-module.json wire--modules--fieldtype--fieldtypeoptions--selectableoptionconfig-php.json wire--modules--fieldtype--fieldtypeoptions--selectableoptionmanager-php.json wire--modules--fieldtype--fieldtypepage-module.json wire--modules--fieldtype--fieldtypepagetable-module.json wire--modules--fieldtype--fieldtyperepeater--fieldtyperepeater-module.json wire--modules--fieldtype--fieldtyperepeater--inputfieldrepeater-module.json wire--modules--fieldtype--fieldtypeselector-module.json wire--modules--fieldtype--fieldtypetext-module.json wire--modules--fieldtype--fieldtypetextarea-module.json wire--modules--fieldtype--fieldtypeurl-module.json wire--modules--inputfield--inputfieldasmselect--inputfieldasmselect-module.json wire--modules--inputfield--inputfieldbutton-module.json wire--modules--inputfield--inputfieldcheckbox-module.json wire--modules--inputfield--inputfieldcheckboxes--inputfieldcheckboxes-module.json wire--modules--inputfield--inputfieldckeditor--inputfieldckeditor-module.json wire--modules--inputfield--inputfielddatetime--inputfielddatetime-module.json wire--modules--inputfield--inputfieldemail-module.json wire--modules--inputfield--inputfieldfieldset-module.json wire--modules--inputfield--inputfieldfile--inputfieldfile-module.json wire--modules--inputfield--inputfieldfloat-module.json wire--modules--inputfield--inputfieldform-module.json wire--modules--inputfield--inputfieldhidden-module.json wire--modules--inputfield--inputfieldicon--inputfieldicon-module.json wire--modules--inputfield--inputfieldimage--inputfieldimage-module.json wire--modules--inputfield--inputfieldinteger-module.json wire--modules--inputfield--inputfieldmarkup-module.json wire--modules--inputfield--inputfieldname-module.json wire--modules--inputfield--inputfieldpage--inputfieldpage-module.json wire--modules--inputfield--inputfieldpageautocomplete--inputfieldpageautocomplete-module.json wire--modules--inputfield--inputfieldpagelistselect--inputfieldpagelistselect-module.json wire--modules--inputfield--inputfieldpagelistselect--inputfieldpagelistselectmultiple-module.json wire--modules--inputfield--inputfieldpagename--inputfieldpagename-module.json wire--modules--inputfield--inputfieldpagetable--inputfieldpagetable-module.json wire--modules--inputfield--inputfieldpagetable--inputfieldpagetableajax-php.json wire--modules--inputfield--inputfieldpagetitle--inputfieldpagetitle-module.json wire--modules--inputfield--inputfieldpassword-module.json wire--modules--inputfield--inputfieldradios--inputfieldradios-module.json wire--modules--inputfield--inputfieldselect-module.json wire--modules--inputfield--inputfieldselectmultiple-module.json wire--modules--inputfield--inputfieldselector--inputfieldselector-module.json wire--modules--inputfield--inputfieldsubmit--inputfieldsubmit-module.json wire--modules--inputfield--inputfieldtext-module.json wire--modules--inputfield--inputfieldtextarea-module.json wire--modules--inputfield--inputfieldurl-module.json wire--modules--jquery--jquerywiretabs--jquerywiretabs-module.json wire--modules--languagesupport--languageparser-php.json wire--modules--languagesupport--languagesupport-module.json wire--modules--languagesupport--languagesupportfields-module.json wire--modules--languagesupport--languagesupportpagenames-module.json wire--modules--languagesupport--languagetabs-module.json wire--modules--languagesupport--processlanguage-module.json wire--modules--markup--markuppagefields-module.json wire--modules--markup--markuppagernav--markuppagernav-module.json wire--modules--pagepaths-module.json wire--modules--pagerender-module.json wire--modules--process--processcommentsmanager--processcommentsmanager-module.json wire--modules--process--processfield--processfield-module.json wire--modules--process--processfield--processfieldexportimport-php.json wire--modules--process--processforgotpassword-module.json wire--modules--process--processhome-module.json wire--modules--process--processlist-module.json wire--modules--process--processlogger--processlogger-module.json wire--modules--process--processlogin--processlogin-module.json wire--modules--process--processmodule--processmodule-module.json wire--modules--process--processmodule--processmoduleinstall-php.json wire--modules--process--processpageadd--processpageadd-module.json wire--modules--process--processpageclone-module.json wire--modules--process--processpageedit--processpageedit-module.json wire--modules--process--processpageeditimageselect--processpageeditimageselect-module.json wire--modules--process--processpageeditlink--processpageeditlink-module.json wire--modules--process--processpagelist--processpagelist-module.json wire--modules--process--processpagelister--processpagelister-module.json wire--modules--process--processpagesearch--processpagesearch-module.json wire--modules--process--processpagesort-module.json wire--modules--process--processpagetrash-module.json wire--modules--process--processpagetype--processpagetype-module.json wire--modules--process--processpageview-module.json wire--modules--process--processpermission--processpermission-module.json wire--modules--process--processprofile--processprofile-module.json wire--modules--process--processrecentpages--processrecentpages-module.json wire--modules--process--processrole--processrole-module.json wire--modules--process--processtemplate--processtemplate-module.json wire--modules--process--processtemplate--processtemplateexportimport-php.json wire--modules--process--processuser--processuser-module.json wire--modules--process--processuser--processuserconfig-php.json wire--modules--session--sessionhandlerdb--processsessiondb-module.json wire--modules--session--sessionhandlerdb--sessionhandlerdb-module.json wire--modules--session--sessionloginthrottle--sessionloginthrottle-module.json wire--modules--system--systemnotifications--systemnotifications-module.json wire--modules--system--systemnotifications--systemnotificationsconfig-php.json wire--modules--system--systemupdater--systemupdater-module.json wire--modules--textformatter--textformatterentities-module.json wire--modules--textformatter--textformattermarkdownextra--textformattermarkdownextra-module.json wire--templates-admin--debug-inc.json wire--templates-admin--default-php.json
here's a empty language pack. You can pick the additional files (beside your 2.2 files) and upload them in the backend. Maybe this is a little bit faster. Then you can start translating them.
Take care, when creating new translation-files via the backend. With PHP version 5.5 and higher, the paths are not working on PHP versions lower than 5.5
// path created on PHP >= 5.5 "file": "wire//core//AdminTheme.php", // path compatible with all PHP versions "file": "wire\/core\/AdminTheme.php",
- 1
-
today I installed the latest dev (2.6 dev) and tried to install language files into the default language. The language files aren't visible, but the backend is translated. Clicking different pages or buttons in the admin result in a fatal error:
Recoverable Fatal Error: Argument 3 passed to LanguageTranslator::textdomainTemplate() must be of the type array, null given, called in E:\xampp\htdocs\devtest\wire\modules\LanguageSupport\LanguageTranslator.php on line 389 and defined (line 106 of E:\xampp\htdocs\devtest\wire\modules\LanguageSupport\LanguageTranslator.php)
This error message was shown because you are logged in as a Superuser. Error has been logged.seems, there is something broken in LanguageTranslator.phpEDIT: found 2 corrupted language files, which caused the problem. Replaced them --> all fine!
- 1
-
It seems like this should work. Could you please confirm?
$fieldEnabledTemplates->description = __('The batch editing option will only be available for the selected templates.'."\n".'NB Leave blank to allow all templates.', __FILE__);
the concatenation doesn't work.
-
-
I accepted your PR and also fixed (I think) the issue you were having translating that the enabled templates setting description. Please let me know if it works now.
just tested this. I can reproduce the non-translated text. It's because you use double-quotes instead of single quotes? Example: line 1005, 1021
Please search for \nNB inside the file. Normally you only need \n for a new line. Or has this (NB) a special meaning? Next problem: with single quotes only \n didn't work.
-
Crosslink for translated Blog module and ScheduledPages modul...
thanks. Included in the repo: https://processwire.com/talk/topic/925-german-de-de/page-8#entry91718
- 1
-
someone knows the movie "Groundhog Day"?
https://blog.sucuri.net/2015/05/jetpack-and-twentyfifteen-vulnerable-to-dom-based-xss.html
- 1
-
You're right. If you see other languages appear \ / and no //. I'll fix it today
Gracias Raul
I remember this behaviour. It depends on the PHP version. With php 5.5 (?) and higher you get the // when creating new translation files in the backend.
- 1
MarkupCookieConsent
in Modules/Plugins
Posted
I've made a first translation file for german: GitHub
All strings are translatable, but
line 98 ist not working:
with single quotes it works, but without the newline \n.
Maybe don't use the \n? Or delete part of string "(You need to include Font Awesome on your own)", because Font Awesome is already included in PW.
same problem with line 217: