The autonomous communities of Spain had a local lifestyle before the 20th century .
These territories also exhibited a variety of local customs , laws , languages and currencies until the mid nineteenth century .