You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are strings that are simply dropped and remain untranslated whatever you do. For instance, the string “Create a new list” visible in the sentences list page.
The reason is that it’s followed by a msgctxt string in the .po file. The string “Birthday” is also concerned along with the strings that have a msgctxt themselves. So four strings in total remains untranslated.
The problem appeared when I dropped .mo files. When we were using .mo files, CakePHP relied on these to get the translations and ignored the .po files. In .mo files, msgctxt strings are simply prefixed with a tab to the msgid string (i.e. msgctxt + "\t" + msgid) to create the unique key, which normally consists of only the msgid string. This implementation detail allowed us to use msgctxt strings without explicit support for them in CakePHP. But now CakePHP fails to read .po files properly because it’s not msgctxt-aware.
The text was updated successfully, but these errors were encountered:
jiru
added
the
bug
Issue that describes a problem with a feature that doesn't work as expected.
label
May 16, 2015
There are strings that are simply dropped and remain untranslated whatever you do. For instance, the string “Create a new list” visible in the sentences list page.
The reason is that it’s followed by a msgctxt string in the .po file. The string “Birthday” is also concerned along with the strings that have a msgctxt themselves. So four strings in total remains untranslated.
The problem appeared when I dropped .mo files. When we were using .mo files, CakePHP relied on these to get the translations and ignored the .po files. In .mo files, msgctxt strings are simply prefixed with a tab to the msgid string (i.e. msgctxt + "\t" + msgid) to create the unique key, which normally consists of only the msgid string. This implementation detail allowed us to use msgctxt strings without explicit support for them in CakePHP. But now CakePHP fails to read .po files properly because it’s not msgctxt-aware.
The text was updated successfully, but these errors were encountered: