Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

No locales in one custom file and i dont know why

i have one file where i dont see locale. I have try different tghings but after the last updates (core updates to neweest version) i lost my locale in this file and i dont know why. Can anyone help me??? Thank you

here the complete file:

CodeDownload  
// Locale
$locale = fusion_get_locale("", FIGURELIB_LOCALE);

none? :( hmnnn
Try a manual include old style instead then,
change figure_lib paths if wrong and it should work just fine.

CodeDownload  
// Check if a locale file is available that match the selected locale.
if (file_exists(INFUSIONS."figure_lib/locale/".LANGUAGE.".php")) {
// Load the locale file matching selection.
   include INFUSIONS."figure_lib/locale/".LANGUAGE.".php";
} else {
// Load the default locale file.
   include INFUSIONS."figure_lib/locale/English.php";
}

trhx i solved it guess

locale_figurelib.php this was my Problem

this is the correct code

// Check if a locale file is available that match the selected locale.
if (file_exists(INFUSIONS."figurelib/locale/".LANGUAGE.".php"wink) {
// Load the locale file matching selection.
include INFUSIONS."figurelib/locale/".LANGUAGE.".php";
} else {
// Load the default locale file.
include INFUSIONS."figurelib/locale/English/locale_figurelib.php";
}

someone is changed with new Version of PHPF
Thread Information
Author
Replies
4 posts
Views
1382 times
Last Post
Last updated on 3 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Falk, Catzenjaeger