WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

You are not logged in.

#1 03.04.2018 19:50:52

losttrip
Member

English Language in General Settings Title and Description counter

I have my WBCE 1.3.1 site set to English language.  But some text used in General Settings is still displayed in German (I believe).
It is the counters to the right of the dialogue for "Website Title" and "Website Description" (see image):
3ec4e5018a4e38a638f993db7c5f7332.png

11 Zeichen [19 Rest]

should read something like:

11 Characters [19 Left]

or...

11 Characters [19 Remaining]

A follow up question.  Where is this counter "max" value set?

Offline

#2 03.04.2018 20:16:46

bernd
Developer

Re: English Language in General Settings Title and Description counter

Uuups,
my fault, you're right these words are hardcodet in German in the template file.
Should be fixed in the next version.

You find the counter limits in TEMPLATE_NAME/templates/settings.htt in the javascript part at the bottom.
Look for

// title char-counter
var titleLimit = 30;

and

// description char-counter
var descLimit = 150;

... nein in Europa verwenden wir beim Programmieren nicht € statt $ ...

Online

#3 04.04.2018 09:05:47

colinax
Administrator

Re: English Language in General Settings Title and Description counter

bernd wrote:

Uuups,
my fault, you're right these words are hardcodet in German in the template file.
Should be fixed in the next version.

How do you want to do that?
The template engine does not allow this change in a simple way.

Execept you use js with if else else selector

Offline

#4 04.04.2018 14:31:15

bernd
Developer

Re: English Language in General Settings Title and Description counter

@Colinax:
thought the easiest way would be to add the two words "Zeichen" and "Rest" to the language files and handle them like the other text in settings?
Will have a closer look at that this evening.


... nein in Europa verwenden wir beim Programmieren nicht € statt $ ...

Online

Board footer

Powered by FluxBB

up