turquoiseowl / i18n

Smart internationalization for ASP.NET
Other
556 stars 156 forks source link

Postbuild grabs nuggets from all my projects #299

Closed dbvcode closed 7 years ago

dbvcode commented 7 years ago

Hi, I have a project that works great with i18n. Thanks for that. :)

I now started a second project with i18n. The problem I have is after building, when the po files are generated they contain all the nuggets from the other project as well as the ones from the new one.

I may be missing something here. Could you please shed some light?

Thanks, Rares

turquoiseowl commented 7 years ago

I'm pleased i18n has been working for you.

Have you looked at the i18n.DirectoriesToScan appSetting. Maybe it needs to point to folders lower down the hierarchy for each project? A bit on that in the readme.

Sent from my ZX Spectrum

From: rares-p [mailto:notifications@github.com] Sent: 20 October 2016 11:31 To: turquoiseowl/i18n Subject: [turquoiseowl/i18n] Postbuild grabs nuggets from all my projects (#299)

Hi, I have a project that works great with i18n. Thanks for that. :)

I now started a second project with i18n. The problem I have is after building, when the po files are generated they contain all the nuggets from the other project as well as the ones from the new one.

I may be missing something here. Could you please shed some light?

Thanks, Rares

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/turquoiseowl/i18n/issues/299 , or mute the thread https://github.com/notifications/unsubscribe-auth/ADFw_fHI_B8Z83X6Z7HzMyTREZRLgkXKks5q10LygaJpZM4Kb91x . https://github.com/notifications/beacon/ADFw_Qba5rH2IfesUVlqMdf4DH_tJkDeks5q10LygaJpZM4Kb91x.gif

dbvcode commented 7 years ago

Thanks,

works good like this: <add key="i18n.DirectoriesToScan" value="~\.." /> it used to be: <add key="i18n.DirectoriesToScan" value=".." />

Cheers