-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
French translation of Report a Person page, shows incorrect message #54
Comments
|
You need to enable locale first in sahana.conf. This will give you a dropdown to change the locale. |
Make $conf['enable_locale'] = true; in sahana.conf file. Default value is false https://github.com/sahana/vesuvius/blob/master/vesuvius/conf/sahana.conf.example#L50 |
In the file /vesuvius/vesuvius/mod/report/main.inc, on this particular line I tried to understand the whole "translation" process, but after _gettext() function in "/vesuvius/vesuvius/inc/lib_locale/gettext.inc" file, I am not able to understand the translation process as why omitting a word results in "non translating" behaviour. |
Fixed the issue. |
@praful94, to respond to your earlier query, the translation framework takes exact strings as they are and translates them. If you change a string, you need to regenerate the sahana.pot file and then propagate the change to each *.po file via Pootle, which is our translation platform. |
@Chanaka this is not an issue related specifically to the French translation. It is related to how the sahana.pot file is generated and the actual string which has been placed within the _t() function. |
yeah, I understood that by looking at .po and .pog files, that's why I changed hyperlinks(anchor tags) in fr_g.pog and ja_g.pog and then compiled fr_g.mo and ja_g.mo for changes to take effect. |
Hi, |
The french message contains additional part "href="search">" which is a part of html codes. This html related part should not be displayed in the message.
The text was updated successfully, but these errors were encountered: