[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testing help for first translation
From: |
Anadon |
Subject: |
Re: Testing help for first translation |
Date: |
Fri, 5 May 2023 00:53:44 -0400 |
I'm running into trouble on step 1. It appears that I am following
what is described.
```
anadon@philosoraptor:~/Documen
ts/code/primes$ LC_ALL=UK LC_MESSAGES=UK
LC_CTYPE=UK LANG=UK LANGUAGE=UK gettext --version
gettext (GNU gettext-runtime) 0.21
Copyright (C) 1995-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper.
anadon@philosoraptor:~/Documents/code/primes$ LC_ALL=UK LC_MESSAGES=UK
LC_CTYPE=UK LANG=UK LANGUAGE=UK gettext --help
Usage: gettext [OPTION] [[TEXTDOMAIN] MSGID]
or: gettext [OPTION] -s [MSGID]...
Display native language translation of a textual message.
-d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN
-c, --context=CONTEXT specify context for MSGID
-e enable expansion of some escape sequences
-n suppress trailing newline
-E (ignored for compatibility)
[TEXTDOMAIN] MSGID retrieve translated message corresponding
to MSGID from TEXTDOMAIN
Informative output:
-h, --help display this help and exit
-V, --version display version information and exit
If the TEXTDOMAIN parameter is not given, the domain is determined from the
environment variable TEXTDOMAIN. If the message catalog is not found in the
regular directory, another location can be specified with the environment
variable TEXTDOMAINDIR.
When used with the -s option the program behaves like the 'echo' command.
But it does not simply copy its arguments to stdout. Instead those messages
found in the selected catalog are translated.
Standard search directory: /usr/share/locale
Report bugs in the bug tracker at <https://savannah.gnu.org/projects/gettext>
or by email to <bug-gettext@gnu.org>.
```
On Thu, May 4, 2023 at 4:50 AM Bruno Haible <bruno@clisp.org> wrote:
>
> Anadon wrote:
> > I am trying to see if my first translation is working...
>
> I think the GNU gettext FAQ
> https://www.gnu.org/software/gettext/FAQ.html#integrating_noop
> answers your question.
>
> Bruno
>
>
>
- Testing help for first translation, Anadon, 2023/05/04
- Re: Testing help for first translation, Bruno Haible, 2023/05/04
- Re: Testing help for first translation,
Anadon <=
- Re: Testing help for first translation, Bruno Haible, 2023/05/05
- Re: Testing help for first translation, Anadon, 2023/05/05
- Re: Testing help for first translation, Bruno Haible, 2023/05/05
- Re: Testing help for first translation, Anadon, 2023/05/05
- Re: Testing help for first translation, Anadon, 2023/05/05
- Re: installing localizations on Ubuntu, Bruno Haible, 2023/05/05
- Re: installing localizations on Ubuntu, Anadon, 2023/05/05
- Re: installing localizations on Ubuntu, Anadon, 2023/05/05
- Re: Testing help for first translation, Gunnar Hjalmarsson, 2023/05/05
- Re: installing a locale, Bruno Haible, 2023/05/05