しかし人々は政府に対して5年間の兵役を努めなければならなかった。

Sentence Analyzer

しかし 人々 政府 に対して 年間 兵役 努めなければならなかった

English Translation

But every man had to give five years of service to the government.

Furigana

しかし人々(ひとびと)政府(せいふ)(たい)して5年間(ねんかん)兵役(へいえき)(つと)めなければならなかった。

Romanji

Shikashi hitobito wa seifu nitaishite go nenkan no heieki o tsutomenakerebanaranakatta.

Words

然し (しかし)
however; but
人々 (ひとびと、にんにん)
each person; people; men and women; everybody
()
topic marker particle; indicates contrast with another option (stated or unstated); adds emphasis
政府 (せいふ)
government; administration
に対して (にたいして)
towards; against; regarding; in contrast with
(ご、いつ、い)
five
年間 (ねんかん)
year (period of)
()
indicates possessive; nominalizes verbs and adjectives; substitutes for "ga" in subordinate phrases; (at sentence-end, falling tone) indicates a confident conclusion; (at sentence-end) indicates emotional emphasis; (at sentence-end, rising tone) indicates question
兵役 (へいえき)
military service; conscription
()
indicates direct object of action; indicates subject of causative expression; indicates an area traversed; indicates time (period) over which action takes place; indicates point of departure or separation of action; indicates object of desire, like, hate, etc.
努める (つとめる)
to endeavor (endeavour); to try; to strive; to make an effort; to exert oneself; to be diligent; to be committed (to doing something)

Kanji

Readings: ジン、 ニン、 ひと、 -り、 -と
Meaning: person
Readings: セイ、 ショウ、 まつりごと、 まん
Meanings: politics, government
Reading: 
Meanings: borough, urban prefecture, govt office, representative body, storehouse
Readings: タイ、 ツイ、 あいて、 こた.える、 そろ.い、 つれあ.い、 なら.ぶ、 むか.う
Meanings: vis-a-vis, opposite, even, equal, versus, anti-, compare
Readings: ネン、 とし
Meanings: year, counter for years
Readings: カン、 ケン、 あいだ、 ま、 あい
Meanings: interval, space
Readings: ヘイ、 ヒョウ、 つわもの
Meanings: soldier, private, troops, army, warfare, strategy, tactics
Readings: ヤク、 エキ
Meanings: duty, war, campaign, drafted labor, office, service, role
Readings: ド、 つと.める
Meanings: toil, diligent, as much as possible