Jump to content

Lang.php file not working


Pseudonym

Recommended Posts

Hi there,

I have a few custom entries in the lang.php file in my theme. However, they only seem to work when IPS is in Designer Mode. On my live site, with Designer Mode switched off, the language bits do not appear. For example...

The default "reg_connect" message is:
Get started faster
Connect via one of these sites.

But my custom lang.php sets "reg_connect" to the following:
Get started faster
Sign up quickly with Facebook, or enter your details below. Either way, you can use an anonymous display name if you wish.

But that only works in Designer Mode. Switch off Designer Mode, and the message reverts back to the default. Apparently this was a bug that was fixed in 4.1.1, however I'm now on 4.1.6.1 and have had this problem since at least 4.1.3.2.

Another little thing that's annoying me is that every time I go back into Designer Mode, the lang.php file gets rewritten, and the logical order that I arranged my language bits gets changed.

Is anyone else having this problem?

Link to comment
Share on other sites

  • 2 weeks later...

I can do that where I'm editing an existing IPS language bit. But I've also created my own bits (for theme-specific language bits, names of custom settings, etc) which don't exist in the ACP language area.

I thought the whole point of /themes/{theme_id}/lang.php was that it provided an easy way for theme designers to add their own language bits?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...