There are no railways in Samoa today.
In the late 19th and early 20th centuries a number of plantations were established by German settlers. Several of these had their own narrow gauge railway systems. These continued to operate after the occupation by New Zealand forces in 1914, but following the liquidation of the remaining German companies in 1916 the plantations languished and the railways fell into disuse.
Flag image from CIA World Factbook