Language files in a template Bluap

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Aug 03, 2013 9:31 am
Reply with quote
Report this post
Made language files for Russian, translated into Russian the necessary. On the offline page page the template doesn't connect language files. It is possible that such problem exists everywhere. Site [url]bioricksha.ru[/url]
User avatar
Expert Boarder

GK User
Sat Aug 03, 2013 9:36 am
Reply with quote
Report this post
One more example of a mistake - http://test.hosty.ru/order-form4234.html
User avatar
Expert Boarder

GK User
Sat Aug 03, 2013 9:48 am
Reply with quote
Report this post
Offline page adjusted. The page according to the link doesn't work
User avatar
Expert Boarder

teitbite
Sun Aug 04, 2013 6:24 pm
Reply with quote
Report this post
Hi

Can You please try explain it one more time ? I do not understand what the problem is. Do You mean that 404 error page is not picking up browser language ?
User avatar
Moderator

GK User
Sun Aug 04, 2013 7:19 pm
Reply with quote
Report this post
already all made.
Look this - http://test.hosty.ru/order-form4234.html
In error.php added the following code
Code: Select all
$lang = JFactory::getLanguage();
$extension = 'tpl_gk_bluap';
$base_dir = JPATH_SITE;
$language_tag = 'ru-RU';
$reload = true;
$lang->load($extension, $base_dir, $language_tag, $reload);

Automatically language translated files in a template don't work. In this case made for error.php .
User avatar
Expert Boarder

teitbite
Tue Aug 06, 2013 6:13 am
Reply with quote
Report this post
Hi

Ok. Thanks for shearing. I'll show this to programmers.
User avatar
Moderator

GK User
Tue Aug 06, 2013 1:59 pm
Reply with quote
Report this post
thanks! Subscribe by results
User avatar
Expert Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.