Notifications
Clear all

wpForo 1.x.x [Solved] Translation Text-Transform (lower case)

4 Posts
3 Users
1 Reactions
1,647 Views
Posts: 9
Topic starter
(@mickdom)
Active Member
Joined: 7 years ago

Hello,

can you reset the text-transform to "none" for the German Language Translation, please? The first Letter upper case and all other Letters lower case is wrong for the German Language!

Example

Phrase key: After registration you will receive an email confirmation with a link to set a new password

Phrase value (right): Nach der Registrierung erhälst du eine E-Mail-Bestätigung mit einem Link, um ein neues Passwort zu setzen.

Frontend (wrong): Nach der registrierung erhälst du eine e-mail-bestätigung mit einem link, um ein neues passwort zu setzen.

I can't fix that using CSS code!

Many thanks for your help!

3 Replies
Sofy
Posts: 4878
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi mickdom,

  1. If you don't use wpForo 1.4.7, please update. 
  2.  change function.php file in /wp-content/plugins/wpforo/wpf-includes/ folder. 
  3.  in line 733 find
    function wpforo_phrase($key, $echo = TRUE, $format = 'first-upper'){
  4.  replace to
    function wpforo_phrase($key, $echo = TRUE, $format = 'native'){

Important:  that after you'll make this change, all phrases in your phrase system will be displayed as you've wrote the values in phrase system (Dashboard > Forum > Phrases admin page) before. 

If you can’t find some phrase you can add it using [Add new] button. More info here:

https://wpforo.com/docs/root/translation/quick-translation-phrases/

Posts: 9
Topic starter
(@mickdom)
Active Member
Joined: 7 years ago

Hi Sofy

Great, that works fine!

Many thanks for your help!!!

Posts: 2
(@caravane)
New Member
Joined: 2 years ago

Posted by: @sofy

  1. If you don't use wpForo 1.4.7, please update. 
  2.  change function.php file in /wp-content/plugins/wpforo/wpf-includes/ folder. 
  3.  in line 733 find
    function wpforo_phrase($key, $echo = TRUE, $format = 'first-upper'){
  4.  replace to
    function wpforo_phrase($key, $echo = TRUE, $format = 'native'){

 

Hi,

in version 2.1.1 this is not doing the trick anymore. Any idea?