Skip to content
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

translation support #14

Open
edwintorok opened this issue Oct 12, 2014 · 1 comment
Open

translation support #14

edwintorok opened this issue Oct 12, 2014 · 1 comment

Comments

@edwintorok
Copy link

There is some support for french and portugal words, however in general words cannot be translated independently of context (capitalization, order of words in sentence, plural forms, etc. all depend on context).

I tried to add support for Romanian and Hungarian, and what I would need for that is:

  • the context in which the translation is used: title/caption or reference
    (or lambtex could capitalize first character of the translated captions/titles if it is a letter)
  • allow to specify order of reference number and reference text

For example I would like to use 'Figura 1' in romanian as the caption for a figure, and refer to it as
'figura 1'. In hungarian both would be '1. ábra'.

See what gettext does, there is also ocaml-gettext but I don't know if it supports the '%1$s' format that would be required here:
https://www.gnu.org/software/gettext/manual/html_node/c_002dformat-Flag.html
https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html

@darioteixeira
Copy link
Owner

Yeah, I'm aware that presently the translation support is universal as long as your universe consists only of languages in the western european sprachbund... Nevertheless, I'm rating this as a fairly low priority issue, unless you urgently need to write some documents in Hungarian... :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants