In Pokémon Platinum, you can find Ditto on Route 218, just to the right of Canalave City, in the tall grass. To locate it, you'll need the Poké Radar, which you receive from Professor Oak after completing the Sinnoh Pokédex and visiting Pal Park.
Once you use the Poké Radar in the grass, look for a shaking, sparkling patch and walk into it. Ditto is quite rare on Route 218, so it may take some patience to run into one.