Welcome to Geeklog, Anonymous Saturday, July 12 2025 @ 06:32 pm EDT

Geeklog Forums

Partial multilingual support


Status: offline
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Hello,

Is there a way to set a partial multilingual support on a Geeklog site?

What I get is a Geeklog site, with topics, stories, and pages.
What I want is to activate multilingual support but serve default items from the main language if optional language items are not available.

How to make this possible?

Thanks,

::Ben
 Quote

Status: offline
Forum User
Full Member
Registered: 02/19/04
Posts: 818
Make a feature request to load english/_utf-8.php before loading the current translation. It would, of course, force 100% of the non English-only sites out there to load an extra file...for every plugin too.

Alternatively, just put your manual changes inside an existing file thus keeping its other entries untouched - that way it would simulate what you want.

Or if you want to take care of future upgrades, take an existing file and at its bottom create manual duplicated entries, e.g.
Text Formatted Code
 $LANG01 => array(
...
'foo' => 'bar',
...
)

 // add this section after each upgrade. Entries here overwrite original assignments:
$LANG01['foo'] = 'no longer bar';
 Quote

Status: offline
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
About a feature request, to allow this "partial multilanguage support", do we need more than a $CONF value (AND / OR) to make the right sql query?

::Ben
 Quote

All times are EDT. The time is now 06:32 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content