This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Language pack or built language on the main installation?
#4
RE: Language pack or built language on the main installation?
I have worked with many projects, and using a different file for each language is very common and easier (and faster) than using a database driven translation system. When we started Zpanel, it was file based. But as things progressed we tried, and switched to db based as our lead developer at the time figured it would be easier to maintain. Which has since proven different Sad
We even had a translation site which is now offline that allowed members to edit and add translations that, using a module, could update and import new languages into the database with ease. One of the main drawbacks of using the db for translations is that custom modules, like sentastico,  error pages editor, etc. Would also need to be incorporated making the language database huge depending on how many languages you wanted to support. And, if you didn't use sentastico, the translations would still be there. Using language files for the core and separate language files for modules proves to be much easier to maintain and create. And if the selected module language doesn't exist it can fallback to English (Sentora default). The hard part is sorting out how to 'easily' convert the current db style to read from files instead of the db without rewriting all of the coding...
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Messages In This Thread
RE: Language pack or built language on the main installation? - by TGates - 08-24-2016, 05:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Trad. Chinese Language. akong 1 7 ,682 10-11-2017, 04:54 PM
Last Post: trucdev88
Dutch language Rick 1 9 ,227 06-21-2015, 04:56 AM
Last Post: bbspike
Changing the language in Sentora mikkelwilk 5 17 ,862 03-12-2015, 09:21 PM
Last Post: magvay

Forum Jump:


Users browsing this thread: 1 Guest(s)