Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 8, 20169 yr 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 fasterSign 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?
January 23, 20169 yr Author Anyone? I've tried asking the Support desk, but apparently this is outside the scope of their work.
January 23, 20169 yr Why are you manually editing the lang.php? There is a language area where you can make translations right from the acp.
January 29, 20169 yr Author 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?
Archived
This topic is now archived and is closed to further replies.