Closed peterwake closed 8 years ago
Where are these files ?
... .po files are supposed to exist 1 per language ... the app.edit.po might have a different set of translations ...
If I run
$ rake gettext:find
I get this output on the terminal:
touch config/locales/de/app.po.time_stamp
rm -f config/locales/en/app.edit.po
cp config/locales/en/app.po config/locales/en/app.edit.po
touch config/locales/en/app.po.time_stamp
rm -f config/locales/zh_CN/app.edit.po
cp config/locales/zh_CN/app.po config/locales/zh_CN/app.edit.po
touch config/locales/zh_CN/app.po.time_stamp
And then both the app.po and app.edit.po files change to add new translations, and the only difference between them is the line
"POT-Creation-Date: 2016-09-06 19:54+0100\n"
I'm really just wondering what purpose it serves to have both these files. Or is one a backup file?
no idea where this .edit is coming from ... might be some strange leftover ... try deleting it ?
On Tue, Sep 6, 2016 at 12:04 PM, Peter Wake notifications@github.com wrote:
If I run
$ rake gettext:find
I get this output on the terminal:
touch config/locales/de/app.po.time_stamp rm -f config/locales/en/app.edit.po cp config/locales/en/app.po config/locales/en/app.edit.po touch config/locales/en/app.po.time_stamp rm -f config/locales/zh_CN/app.edit.po cp config/locales/zh_CN/app.po config/locales/zh_CN/app.edit.po touch config/locales/zh_CN/app.po.time_stamp
And then both the app.po and app.edit.po files change to add new translations, and the only difference between them is the line
"POT-Creation-Date: 2016-09-06 19:54+0100\n"
I'm really just wondering what purpose it serves to have both these files. Or is one a backup file?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/grosser/gettext_i18n_rails/issues/163#issuecomment-245055594, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAsZ46WkipdA0-vrNKejWJJWZDADroSks5qnbk0gaJpZM4J2FXO .
On further digging the rake command jumps into a gettext rake command.
There is a discussion on this here: https://github.com/ruby-gettext/gettext/issues/36
Could someone please explain what these files are for - I am sure there is a reason for both! Which one should be sent to someone to translate? Many thanks.