Please sign in to comment.
docs(i18n): clarifies limitations of elgg.echo
`elgg.echo` is not a functional equivalent of `elgg_echo` due to core only sending one pre-merged language file to the client. The only useful value for the 3rd argument is the boot-time return value of `elgg.get_language()`. No other language files are loaded, so, given any other language, `elgg.echo` will return only the message key or possibly an English translation. Due to this, the RST docs no longer mention `elgg.echo`'s 3rd argument.
- Loading branch information...
Showing with 11 additions and 6 deletions.