0 Members and 1 Guest are viewing this topic.

*

Pharg

  • *****
  • 3,042
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Language menu entries
« Reply #30 on: August 08, 2017, 10:54:51 PM »
Hi ba1122,

What language are you translating?

Does it show any error at all?
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35

*

ba1122

  • ***
  • 106
  • osDate Version: osDateEvo v1.2
Re: Language menu entries
« Reply #31 on: August 08, 2017, 10:55:42 PM »
German, no errors ...

*

Pharg

  • *****
  • 3,042
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Language menu entries
« Reply #32 on: August 08, 2017, 10:59:34 PM »
Hi ba1122,

Can you attach it and I will see what happens when I try please?
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35

*

ba1122

  • ***
  • 106
  • osDate Version: osDateEvo v1.2
Re: Language menu entries
« Reply #33 on: August 08, 2017, 11:18:48 PM »
Puhh, what I checked:

In the german language file: $lang['expire_on'] = 'Mitgliedschaft läuft aus am';

English: $lang['expire_on'] = 'Membership expires on';

In the admin section 'expire_on' is empty at german, but not at english...?!?

*

Pharg

  • *****
  • 3,042
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Language menu entries
« Reply #34 on: August 08, 2017, 11:27:18 PM »
Hi ba1122,

I will look using the old German and see what happens.

If I remember correctly, the language doesn't change in the admin area for some strange reason, only on
the members side, will check now.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35

*

ba1122

  • ***
  • 106
  • osDate Version: osDateEvo v1.2
Re: Language menu entries
« Reply #35 on: August 08, 2017, 11:29:15 PM »
So, the translation is not loaded from the language file ...

*

Pharg

  • *****
  • 3,042
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Language menu entries
« Reply #36 on: August 08, 2017, 11:34:26 PM »
Hi ba1122,

Just loaded German, it only shows in the front side, it doesn't change in the admin side.

There doesn't seem to be a way to change the admins language.

More than likely done in multi language only for the members.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35

*

Pharg

  • *****
  • 3,042
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Language menu entries
« Reply #37 on: August 08, 2017, 11:36:40 PM »
So, the translation is not loaded from the language file ...

Yes it is does load the translation, but doesn't change anything in the admin area at all, only the members side.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35

*

Pharg

  • *****
  • 3,042
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Language menu entries
« Reply #38 on: August 08, 2017, 11:49:37 PM »
Hi ba1122,

Can I get a copy of your translated German language please?
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35

*

ba1122

  • ***
  • 106
  • osDate Version: osDateEvo v1.2
Re: Language menu entries
« Reply #39 on: August 18, 2017, 11:59:39 AM »
So, another one which isn't working.

The translation for $lang['featured_profiles'] = 'Featured Profiles'; exists in the language file, but in the admin section the main key for this is empy?!

*

Pharg

  • *****
  • 3,042
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Language menu entries
« Reply #40 on: August 18, 2017, 10:53:25 PM »
Hi ba1122,

Yes it is, it's in panelmenu_options.tpl, the featured_profile.tpl and the featured_profiles.tpl

In the panelmenu_options.tpl it is set as:
Code: [Select]
{lang mkey='featuredprofiles'}
In the featured_profile.tpl and the featured_profiles.tpl
Code: [Select]
{lang mkey='featured_profiles_hdr'}


Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35

*

ba1122

  • ***
  • 106
  • osDate Version: osDateEvo v1.2
Re: Language menu entries
« Reply #41 on: August 18, 2017, 11:12:11 PM »
I meant, if I load the language file in the admin backend the main key is empty although there is an entry in the german language file. So I have no german translation for this.

Are you able to explain this one: {assign var="page_hdr01_text" value="{lang mkey='featured_profiles'}"|cat:$fphdr02} ?

*

Pharg

  • *****
  • 3,042
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Language menu entries
« Reply #42 on: August 18, 2017, 11:31:03 PM »
Hi ba1122,

As I have told you before, I didn't write this script or write the language files, just updated it where and when I could to keep it working, the english lang should be complete and the admin doesn't translate at all, never has in the over 10 years I have used the script.

Quote
Are you able to explain this one: {assign var="page_hdr01_text" value="{lang mkey='featured_profiles'}"|cat:$fphdr02} ?

Yes that is getting the lang from this value="{lang mkey='featured_profiles'} which comes from the frontside settings, not from the admin/ tpl files called page_hdr01.tpl

Hope this helps you.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35

*

ba1122

  • ***
  • 106
  • osDate Version: osDateEvo v1.2
Re: Language menu entries
« Reply #43 on: August 18, 2017, 11:44:07 PM »
I know, just mentioned this problem I don't understand ..

What about this part: |cat:$fphdr02 ?

*

Pharg

  • *****
  • 3,042
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Language menu entries
« Reply #44 on: August 19, 2017, 12:03:06 AM »
It's not text, normally some sort of text stripper or old code that was left over.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35