zerevans
Total posts: 61
12 Фев 2018 19:04

Can this text in User Submission Form be translated ?

There are (100) characters left of 100 allowed!

translation

Последние изменения: 05 Апр 2018


pepperstreet VIP
Total posts: 3,837
14 Фев 2018 04:52

Hello zerevans, yes. If you want to change it only once, you can change the default in the TextArea field parameters directly.
If you have multiple languages you should use the J! core language override feature. It should be the following CONSTANT:

TA_SYMBOLSLEFTMSG

Value is:
There are (%s) simbols left of %d


BTW, it is used in the field's input template. It has its own language INI file.


zerevans
Total posts: 61
15 Фев 2018 21:57

Thanks so much Pepperstreet. You know everything.


pepperstreet VIP
Total posts: 3,837
11 Март 2018 01:23

Hello, it did not work for you?
I made a quick test with a direct text change in field params...
and also language overrides for 2 languages: EN and DE

I have also checked the field's language INI and the input template. The CONSTANT name is correct.
The only minor difference is the default value in INI and template. One says "simbols" and the other says "characters", but this should not be an issue.

Language override

Make sure you create and enter the override for EACH SITE language.
Sometimes, you enter it accidently for ADMIN. Happens to me all the time ;)

BTW, I noticed no frontend change at once (!?)
So I checked and switched default language for the site...
and cleared Joomla and Browser cache before reloading the submission form!
Suddenly it worked!

Screenshots

language_default

cob8_textarea_lang_override

cob8_textarea_input


zerevans
Total posts: 61
11 Март 2018 09:07

Thanks so much. I deleted another topic in the same issue. Sorry for that.


pepperstreet VIP
Total posts: 3,837
11 Март 2018 17:06

zerevans Sorry for that.

No problem at all.
Did you have success?


zerevans
Total posts: 61
14 Март 2018 18:17

I tried and my Developer also tried but something is wrong. If you need to check my Joomla Admin panel, can you write to my email ? Thanks very much. Developer send this screen shot. How can I send my email to you if you need more information ? screen


pepperstreet VIP
Total posts: 3,837
22 Март 2018 18:41

Probably I did some magic on your site. ;)
Please, check frontend submission (Artikkeli)


pepperstreet VIP
Total posts: 3,837
22 Март 2018 18:58

Screenshots from langauge override test on Artikkeli text area field.

Test parameter message

cob_textarea_param_message

cob_textarea_param_message_frontend


Test Override FI

cob_textarea_override_fi

cob_textarea_override_fi_frontend

cob_textarea_override_fi_frontend_final

As far as I can tell, it works now for "Artikkeli".


zerevans
Total posts: 61
22 Март 2018 20:05

Thanks so much my Friend. You fixed it perfectly !


zerevans
Total posts: 61
27 Март 2018 20:50

Are you working this week ? I sent a message to you in Facebook.


Sergey
Total posts: 13,748
04 Апр 2018 11:16

zerevans Are you working this week ? I sent a message to you in Facebook.

If you mean my facebook, then I do not open it for half of the year already.


pepperstreet VIP
Total posts: 3,837
04 Апр 2018 13:54

Sergey

zerevans Are you working this week ? I sent a message to you in Facebook.

We already had a conversation on facebook. I have solved the issue (sort of).


@Sergey
Although I was able to fix it, I can't explain what causes the actual problem.
The language manager override does not work from the beginning.
I had to edit the field parameter as well, enter a new value or delete the default… save the field.
Only this way, the actual "external override" takes place.
Do you have any clue why this is happening?

Is it because of the missing FI-fi language INI file?
Or because of the field parameter? I noticed the default value IN THE PARAM is different to the .INI value.
It feels like the parameter has an impact on the override functionality?!


Sergey
Total posts: 13,748
05 Апр 2018 04:14

pepperstreet Is it because of the missing FI-fi language INI file?

I woudl start from this one. Created a file and had a look what will happen. But I cannot say for sure. One of the misteries of Joomla probably.

Работает на Cobalt