Advertisement:

Author Topic: SMF Mobile Theme language strings  (Read 358 times)

Offline Matthias

  • Semi-Newbie
  • *
  • Posts: 71
  • Gender: Male
SMF Mobile Theme language strings
« on: March 12, 2019, 09:45:49 AM »
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?

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,138
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Mobile Theme language strings
« Reply #1 on: March 12, 2019, 09:48:19 AM »
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

Offline Matthias

  • Semi-Newbie
  • *
  • Posts: 71
  • Gender: Male
Re: SMF Mobile Theme language strings
« Reply #2 on: March 12, 2019, 09:50:26 AM »
I don't use UTF8

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,138
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Mobile Theme language strings
« Reply #3 on: March 12, 2019, 09:57:58 AM »
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

Offline Matthias

  • Semi-Newbie
  • *
  • Posts: 71
  • Gender: Male
Re: SMF Mobile Theme language strings
« Reply #4 on: March 12, 2019, 10:02:20 AM »
There are the following themes in the themes folder:

core
default
mytheme01
mytheme02
SMF4Mobile20

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,138
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Mobile Theme language strings
« Reply #5 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?
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

Offline Matthias

  • Semi-Newbie
  • *
  • Posts: 71
  • Gender: Male
Re: SMF Mobile Theme language strings
« Reply #6 on: March 12, 2019, 10:27:22 AM »
Yes, it works

Offline Matthias

  • Semi-Newbie
  • *
  • Posts: 71
  • Gender: Male
Re: SMF Mobile Theme language strings
« Reply #7 on: March 14, 2019, 05:11:59 PM »
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.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,138
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Mobile Theme language strings
« Reply #8 on: March 14, 2019, 05:14:53 PM »
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

Offline Matthias

  • Semi-Newbie
  • *
  • Posts: 71
  • Gender: Male
Re: SMF Mobile Theme language strings
« Reply #9 on: March 14, 2019, 05:30:23 PM »
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.

Offline Matthias

  • Semi-Newbie
  • *
  • Posts: 71
  • Gender: Male
Re: SMF Mobile Theme language strings
« Reply #10 on: March 15, 2019, 07:42:24 AM »
I renamed the file to ThemeStrings.german_informal.php
Now it works. Thanks for support.