A Japanese citizen having a foreign nationality must select either one of the two before reaching twenty years of age if they obtain the foreign nationality and Japanese citizenship prior to becoming eighteen years of age, or within two years from that time if it is after.
外国の国籍を有する日本国民は、外国及び日本の国籍を有することとなつた時が十八歳に達する以前であるときは二十歳に達するまでに、その時が十八歳に達した後であるときはその時から二年以内に、いずれかの国籍を選択しなければならない。
Other than by renouncing the foreign nationality, the selection of Japanese citizenship is accomplished by making a declaration of the Japanese citizenship selection and the renunciation of the foreign nationality (referred to below as "selection declaration") pursuant to the provisions of the Family Register Act.
日本の国籍の選択は、外国の国籍を離脱することによるほかは、戸籍法の定めるところにより、日本の国籍を選択し、かつ、外国の国籍を放棄する旨の宣言(以下「選択の宣言」という。)をすることによつてする。
Read this with the articles around it