Re: [Tiki-devel] Problem with french translation for "Location"

Jean-Marc Libs <[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <CA++RN4cqw9fEaUzxyHn5b=tPbsaA6KFF1stsmkao0fbT6QoRjQ@mail.gmail.com>
Hey folks,

I just committed the code for context-aware translations in master:
https://gitlab.com/tikiwiki/tiki/-/commit/67cbcb7ad2080c077bcd25771b7389b4243ba496

Testing works this way:

Insert a new string or modify an existing string in the source or a
template with context like this: "Edit_C(title)". Then rebuild the language
files.
Rebuilding language files :

php console.php  translation:englishupdate --scm=git

php console.php  translation:getstrings

php console.php c:c



I would very much like real-world examples of context-aware translations
necessity, so that Tiki ships with actual examples or context-aware strings
in the Tiki code.
Bernard's example is for custom needs (not Tiki as shipped) and I can't
think of anything in french.

I remember languages with declinaisons would have a need for different
translations in blabla_C(title) for menus and blabla_C(action). *Luci?*

I guess I could give a try to removing the odd punctuation handling if I
have time before the TikiFest.
I wonder if anyone is making progress on anything else mentioned here:
https://dev.tiki.org/Translations-Revamp

Cheers,
Jyhem

_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.