Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 06:49 pm EST
Geeklog Forums
Partial multilingual support
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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
I'm available to customise your themes or plugins for your Geeklog CMS
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
I'm available to customise your themes or plugins for your Geeklog CMS
11
7
Quote
Status: offline
LWC
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.
...
'foo' => 'bar',
...
)
// add this section after each upgrade. Entries here overwrite original assignments:
$LANG01['foo'] = 'no longer bar';
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';
5
10
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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
I'm available to customise your themes or plugins for your Geeklog CMS
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
8
6
Quote
All times are EST. The time is now 06:49 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