Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 11:38:55 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155533
Posts in
21712
Topics by
7736
Members
Latest Member:
chris85
WebsiteBaker Community Forum
English
WebsiteBaker 2.x discussion
(Moderator:
Argos
)
Why aren't the languages in the database?
Pages: [
1
]
Go Down
Author
Topic: Why aren't the languages in the database? (Read 563 times)
PurpleEdge
Offline
Posts: 232
Why aren't the languages in the database?
«
on:
September 25, 2010, 03:25:05 AM »
Is there a good reason why the languages aren't in a datafile?
Wouldn't it make management much easier?
Logged
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2296
Re: Why aren't the languages in the database?
«
Reply #1 on:
September 25, 2010, 09:55:13 PM »
it is a bit "expensive" to put messages in a database.
The languages are mainly just words or very small sentences. But it could be we need 100 or more of those to build a page. (especially in the backend)
That would need 100 queries to the database, instead of a single read of the language file.
Messages do not change frequently, so there is no real advantage in making a complete database management for it.
Logged
Professional WebsiteBaker Solutions
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4884
Re: Why aren't the languages in the database?
«
Reply #2 on:
September 25, 2010, 10:20:15 PM »
Hello Purple,
as Ruud said, it wouldn't make much sense to put the data into a database.
However, if you find the language management is too komplex as it is right now, have a look how it is handled in the Admin-Tool "Practical Module Functions" from User Thorn.
Espacially if you're after to create own modules, this Admin-Tool and its functions can be of interest for you.
It has a totally different approach on the language files and a language editor "console".
Kind regards,
Stefek
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
PurpleEdge
Offline
Posts: 232
Re: Why aren't the languages in the database?
«
Reply #3 on:
October 17, 2010, 07:53:39 AM »
Hello,
It would be easy to read all the required language records on start-up into an array, so I doubt there is any performance hit at all. And backend management would be much easier, especially for end-users.
It was just a thought, I don't develop multi language sites at all, so it is not an issue for me.
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...