Edgewall Software
Modify

Opened 9 years ago

Closed 7 years ago

#6387 closed defect (fixed)

docs about translation

Reported by: markus.staab@… Owned by: Christian Boos
Priority: high Milestone: 0.12
Component: i18n Version: 0.12dev
Severity: normal Keywords: documentation i18n
Cc: trac@…
Release Notes:
API Changes:

Description (last modified by Christian Boos)

would be nice to have a wiki article which describes, how/where to add translation files (e.g. de_DE) for interface translation


See TracL10N.

Attachments (1)

messages.pot_from_6449_to_6706.patch (36.5 KB) - added by alexey.lustin <lustin@…> 9 years ago.
Regenerated messages.pot

Download all attachments as: .zip

Change History (23)

comment:1 Changed 9 years ago by Jeroen Ruigrok van der Werven

Please see TracL10N for now. I need to substantially clean that up though, but it should help you a bit already.

comment:2 Changed 9 years ago by markus.staab@…

hmm… translation has nothing to do with L10N… it has to be I18N .. ?

comment:3 Changed 9 years ago by markus.staab@…

i need to know, where to put the translated *.po files and how configure trac to use them.. im not interessted in the system how the i18n is implemented.

comment:4 Changed 9 years ago by anonymous

anybody?

comment:5 Changed 9 years ago by Christian Boos

Keywords: documentation i18n added
Milestone: 0.12
Owner: changed from Jonas Borgström to Jeroen Ruigrok van der Werven

jruigrok:

cboos:

Btw, is there a dev page describing how to use this i18n branch (generate the catalogs and such)?

I thought there was, but now I am in doubt. Need to check it and if it does not exist I should create it.

Anyway:

get Babel all installed

then from the trac-i18n branch:

python setup.py —help-commands

extract_messages is for creating the .pot

compile_catalog is for creating .mo files from .po files

after that build and install to test .mo files

I hope this gets you a bit further ;-)

comment:6 Changed 9 years ago by Jeroen Ruigrok van der Werven

Status: newassigned

I'll make sure to devote some time to this soon.

comment:7 Changed 9 years ago by BUGabundo

Cc: trac@… added

ccing me

comment:8 Changed 9 years ago by Jeroen Ruigrok van der Werven

On the TracL10N site I put on some quick install hints.

comment:9 Changed 9 years ago by Markus.Staab

its very confusing that the term L10N is used, even if we talk about I18N …

comment:10 Changed 9 years ago by Jeroen Ruigrok van der Werven

Component: generali18n

comment:11 Changed 9 years ago by Jeroen Ruigrok van der Werven

A quick note: L10N is actually quite correct for the translations, since it is the localization of the software. I18N would be less appropriate since that's the framework on the software side that makes L10N an option.

comment:12 Changed 9 years ago by Markus.Staab

I don't think so… if you talk about I18N you talk about translations and if you talk about L10N you talk about contents which you serve for a special region

Changed 9 years ago by alexey.lustin <lustin@…>

Regenerated messages.pot

comment:13 Changed 9 years ago by alexey.lustin <lustin@…>

In what time sandbox/i18n/trac/locale/messages.pot have regenerated

what i meen?

i've download the latest Babel-1.0dev_r358 and in Trac said

./setup.py extract_messages

my workcopy of i18n At revision 6706.

then i said

svn status
?      trac/locale/es_AR/LC_MESSAGES/messages.mo
M      trac/locale/messages.pot

i dont now, may be it not need, but i will atached the patch for trac/locale/messages.pot

comment:14 Changed 8 years ago by anonymous

not in messages.pot

#: web/auth.py:89 #, python-format msgid "logged in %s" msgstr ""

maybe create new ticket for this type of messages?

comment:15 Changed 8 years ago by Christian Boos

Milestone: 0.130.12

comment:16 Changed 8 years ago by anonymous

This desperately needs some docs. I've installed 0.12 and the "language" panel on the preferences shows up, but changing it does nothing. I have no idea what I'm missing or where to start.

comment:17 Changed 8 years ago by Christian Boos

Owner: changed from Jeroen Ruigrok van der Werven to Christian Boos
Priority: normalhighest
Status: assignednew
Version: 0.12dev

#7843 closed as duplicate - asking for some more precisions about the installation of .mo files.

comment:18 in reply to:  description ; Changed 7 years ago by anonymous

Resolution: fixed
Status: newclosed

Replying to markus.staab@…:

would be nice to have a wiki article which describes, how/where to add translation files (e.g. de_DE) for interface translation

We are working on that. Hope we will have it in production until the end of year.

comment:19 in reply to:  18 Changed 7 years ago by anonymous

Resolution: fixed
Status: closedreopened

Replying to anonymous:

Replying to markus.staab@…:

would be nice to have a wiki article which describes, how/where to add translation files (e.g. de_DE) for interface translation

We are working on that. Hope we will have it in production until the end of year.

Please do not close this ticket. It's highly important to me to have a resolution as soon as possible.

comment:21 Changed 7 years ago by Christian Boos

Priority: highesthigh
Type: taskdefect

comment:22 Changed 7 years ago by Christian Boos

Summary: docs about translationdoc about translating plugins

Focus the ticket on expanding TracL10N for adding translation support to plugins.

The TracMercurial plugin has translations, so it's already possible to do it by following that example, but a few more guidelines wouldn't hurt…

Last edited 7 years ago by Christian Boos (previous) (diff)

comment:23 in reply to:  22 Changed 7 years ago by Christian Boos

Description: modified (diff)
Resolution: fixed
Status: reopenedclosed
Summary: doc about translating pluginsdocs about translation

Replying to cboos:

Focus the ticket on expanding TracL10N for adding translation support to plugins.

Oops, there was already a ticket dedicated to this (#6387), so this ticket is about the general documentation for translation, which is there in TracL10N and is enough. Improvements can be contributed directly by editing that wiki page.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.