If you think of scales as a pattern made up of intervals rather than them belonging to any specific note, you might find scales a lot easier to remember. For example, learning say 12 different major scales can seem a little overwhelming, but really, there's no need for that at all. All you need do, is learn the pattern of the major scale and start from any note along the entire keyboard. It's the intervals in between notes that define a scale, whether you play any given scale on C, or F, or A or wherever, that pattern will ALWAYS be the same for that scale.
So, in the case of the major scale: TTSTTTS.
'T' stands for 'tone' or a whole step if you are in the US
'S' stands for 'semitone' or a half step.
It works like this:
Put your finger on 'C' on the keyboard, then move a whole tone and you get to 'D', another whole tone gets you to 'E', then a semitone moves you to 'F' etc etc. and you get the pattern I just said above. When i first learned, I found it a hell of a lot easier than trying to remember how to build the major scale on all 12 notes. After a while you just get used to the pattern and you wont even have to think about it.
And yes, it's the same with any scale. So if you are in one of the minor keys starting on A and transposed it to say D, you are still using the same minor scale but now it's D minor. It's the same principle, you are only moving the 'block' of notes, the pattern, or spaces in between the notes remains the same.
Using the 'tone & semitone' method, you can work out any scale starting on any note. Build a minor scale and count the intervals and that's the pattern for that particular minor scale.