SMF Mobile Theme language strings

Started by Matthias, March 12, 2019, 09:45:49 AM

Previous topic - Next topic

Matthias

Hello,

I have translated the text strings in the file Themes/SMF4Mobile20/languages/ThemeStrings.english.php to german language and saved it as ThemeStrings.german.php
After I cleared the cache on the mobile device, the language is still English. The theme settings in the admin center are also Englisch.
Is there something more, that I have to do?
Quality first

vbgamer45

Are you using utf8 you might also need to save it as  ThemeStrings.german-utf8.php
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Matthias

Quality first

vbgamer45

Do you have more than one SMF4Mobile theme in your themes folder?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Matthias

There are the following themes in the themes folder:

core
default
mytheme01
mytheme02
SMF4Mobile20
Quality first

vbgamer45

If you copy the contents of your file to .english.php file and  clear your cache does it work?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Matthias

Quality first

Matthias

Quote from: vbgamer45 on March 12, 2019, 10:20:38 AM
If you copy the contents of your file to .english.php file and  clear your cache does it work?

That's a quick and dirty thing for testing, but not a solution.
Quality first

vbgamer45

What does your language files look like for german? Make sure you have exact same file ending and how the file is capitalized.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Matthias

Ah, ok because of that you brought me to an idee.

For german language there are two versions available, ,,german" and ,,german_informal".
I test this and then give a feedback.
Quality first

Matthias

I renamed the file to ThemeStrings.german_informal.php
Now it works. Thanks for support.
Quality first

Advertisement: