BoKr Posted October 9, 2012 Share Posted October 9, 2012 Dear group, I am new to PS and am going to install 1.4.9 for certain reasons. I downloaded a hand full of free themes and made my first alteration in the global.css yesterday. But there are some basic open questions I hope I get help for here. First, how do translations work? I am from Germany and would like to use a free theme that derives from the English speaking community. My BO is set to German and that is how I installed PS, too, ... German language. However, some modules/blocks are in English some are are in German. Point is, they are not consistent. So, what have I to do? Shall or must I go through the BO tools translations ... If not, where are the translations stored or in which way are they handled by PS? I found some '(language).php' in the main folder of my theme and in subfolders of modules, e.g. So, does PS take translations from the main folder of PS (1.4.9) and its subfolders and only if there are none than PS looks in the theme folder? or vice versa? Or does PS take translations only from the theme folder? That would mean that we would have to do the translation again and again if we try out some themes... Is there one language repository so to speak one big file or are there many? I suppose the later since if you or someone else programs a new module how should PS know to give out the proper language? So, am I right in thinking that there is a language.php for the FO for the BO and then for each module? If a new module is in Russian for example and the programmer has only provided Russian strings in the module I had to look in the module itsself and translate there since the BO can not help here? If that is right then should or couldnt I always for the matter of ease and speed look directly in the modules *.tlp and *.php? Second, how does PS process CSS? I made changes to the global.css yesterday and everything was fine. Well, at least for my testing purposes and my play drive However, when I wanted to make changes to the header I didnt find any definitions in the global.css. I had to look in the prestashop\themes\PRS_mychanges\css\modules\blockpermanentlinks\ Can you explain to me the logic of PS here? 1st always in active theme directory 2nd global.css 3rd \css\modules\*\*.css or so? I am asking since I wanted to decrease the size of my header vertically. But I didnt succeed. At least I did only partially. Please have a look at the following picure. You will see my header definition of height in global.css. The thing is I cannot make it smaller than 105px or so. I mean at least nothing happens then?! Is the reason that I cannot decrease its height cause there is someting in the way so to speak? Please apologize, but I am new to CSS and HTML, too Another thing is, only for my understanding, how can I put some text into the search field? http://img1.uploadscreenshot.com/images/orig/10/28204044373-orig.png Third, I want to use a template that is for max 1.4.6. This is what the dev team tells me. Well, I am on 1.4.9 and the theme seems to work. How can I make sure that everything is working or where can get information what changed or where users have to make alterations so older themes (1.4.4-1.4.6) work with 1.4.9? thanks a lot an information hungry user Link to comment Share on other sites More sharing options...
Athinodoros Posted October 11, 2012 Share Posted October 11, 2012 First Please do all the translations from "BO / tools / translations" in your database there are many tables like "something_lang" yes you can make the translations from there but its dangerous Second If you want to make changes to the header you must find the header.tpl (when you make changes, first of all make a copy of your original .tpl file to a folder) Third if a theme works, then everything is ok in Summary Must try, must spend a lot of time and always strive to become better Link to comment Share on other sites More sharing options...
Recommended Posts