How to localize \newglossaryentry \gls and similars
I find that Galician translation doesn't compile 'cause the \gls and \newglossaryentry isn't defined. Currently al the entries are translated like:
\gls{server} => \gls{servidor}
and the same for \newglossaryent
What is the best way to translate those tags for avoid compilation crashes?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- 2010-04-06
- Last reply:
- 2010-04-06
| Luke Jennings (ubuntujenkins) said : | #1 |
I have worked out what is causing that build error, the error was caused in line 4455 of the po file it should read
msgstr "Prema no botón \\button{Aplicar}"
It actually read
msgstr "Prema no botón \\button{Aplicar"
I will make sure it gets updated correctly.
| Luke Jennings (ubuntujenkins) said : | #2 |
Sorry i answered your e-mail here and not in the e-mail.
| Fran Diéguez (frandieguez) said : | #3 |
Weaahh!
This solves our problem, thanks!
Don't worry about answer here, I you want I'll send a message to the list with your help.
But please answer the question about glossaries... ;~
| Kevin Godby (godbyk) said : | #4 |
Hello, Francisco.
I will answer your question about which parts of the glossary commands should be translated.
Let's look at the \newglossaryentry command first.
\newglossaryent
The first 'cherry' should be left untranslated as it's used as a pointer to the glossary entry. The second 'cherry' should be translated. The description, 'A small red fruit...' should be translated. And if the plural form of the word 'cherry' is something other than 'cherrys' (i.e., the plural form isn't made by simply adding an 's'), include and translate the plural form, 'cherries'.
\newglossaryent
Now, for the \gls, \glspl, \Gls, and \Glspl commands, their argument should NOT be translated. It must match the first 'cherry' from the \newglossaryentry command.
If you look at chapter 4 of the style guide (http://
I will email this link to the mailing list as well, since it doesn't appear to be well-known.
If you have any further questions, please feel free to ask.
--Kevin
Can you help with this problem?
Provide an answer of your own, or ask Fran Diéguez for more information if necessary.

