Localization of websites using one language without recording their translations in the database.

Events happening in the community are now at Drupal community events on www.drupal.org.
rbogdan's picture

Many out of regional Websites use their own language, different from English, and they don’t need the opportunity to use several language versions of the website. I suggest importing the translation directly into the files of the source code, processing on the functions t() and inserting instead of English expressions, expressions of the required language.

Overview: I’ ve been using Drupal CMS professionally for more than half a year. During this time I managed to create several my own modules for the websites of educational institutions of my city and transferred into Drupal 10% of them. This CMS still amazes me by its capabilities. But because of its scalability it becomes slow, which is particularly reflected on the work with databases. Thus, I suggest taking away some of the high load of the database of the websites using only one native language and recording translated lines immediately into the files of the source code.

Description: In case a programmer knows that he will need only one language he can, with help of this module, upload the translation into the source code. And thus, there is no more need to use the resources of databases for translation thereby increasing the performance.
Updating core or modules, one will have to update the translation.
This module can be used when necessary, leaving the choice of using one language or several. One can always roll back to using multi-language version of core or modules. Thus, one can increase performance of the system by rejecting to use excessive capabilities of the system.

Potentials to realize:
import of .po files into the source code without unnecessary loading of a database.

Mentors:

  • Someone with good Russian, preferably living in the South of Russia

Difficulty: Medium

Comments

Really?

alex ua's picture

@rbogdon why do you have me listed as a mentor? I have agreed to no such thing.

Also, what you are suggesting sounds a lot to me like hacking core. I could be wrong, but are you honestly suggesting that a module overwrite drupal's core modules?

--
Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology

Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology

Sorry, just do not quite

rbogdan's picture

Sorry, just do not quite understand how to add mentors. Now corrected.

Edit the kernel, it's true. And there are ways to do this accurately.

SoC 2009

Group categories

Admin Tags

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: