|
I am wondering exactly how translations work - not how you do it, but the nuts and bolts of it.
So this is what a translatable item looks like
<label for="newsletter"><?php echo $this->__('Sign up for our newsletter:') ?></label>
now if i translate that with inline translation, i am assuming that gets stored in the database. at first i thought maybe the file itself was being rewritten, but the templates are not writable.
there doesn’t seem to be any unique way of identifying that piece of code other than the language itself, how does the data base match up the translations and know to replace ‘Sign up for our newsletter’?
What if i kept changing it? are the old versions cluttering up the database?
It seems like i could just make my own, is that true?
|