2015-01-30 12:18:52 |
Daniel Holbach |
bug |
|
|
added bug |
2015-02-02 16:40:55 |
Daniel Holbach |
ubuntu-devices-help: importance |
Undecided |
High |
|
2015-02-09 16:17:44 |
Daniel Holbach |
summary |
Create script to add directory structure for new language |
Make translations possible |
|
2015-02-09 16:17:56 |
Daniel Holbach |
description |
As we want to provide this information in as many language as possible, it'd be good to have a script which generates the new directory structure for us. |
Make translations possible. |
|
2015-02-09 16:18:13 |
Daniel Holbach |
branch linked |
|
lp:~dholbach/ubuntu-devices-help/pelican |
|
2015-02-09 16:18:22 |
Daniel Holbach |
ubuntu-devices-help: status |
New |
In Progress |
|
2015-02-09 16:18:22 |
Daniel Holbach |
ubuntu-devices-help: assignee |
|
Daniel Holbach (dholbach) |
|
2015-02-09 17:16:04 |
Daniel Holbach |
ubuntu-devices-help: status |
In Progress |
Fix Committed |
|
2015-02-10 12:01:50 |
Daniel Holbach |
ubuntu-devices-help: status |
Fix Committed |
In Progress |
|
2015-02-10 17:23:30 |
Daniel Holbach |
description |
Make translations possible. |
Make translations possible. Ok, so this needs a bit more explanation.
So far we have:
- generate-pot which generates a .pot file, leaving out the
pelican-specific meta data (Title, Save_as, etc.)
What we need is:
- generate-pot to leave in "Title:" as we want that translated.
- a new command to generate translated content. What we
currently have in Makefile is this:
translate:
$(foreach po_file,$(PO_FILES),$(shell mkdir $(INPUTDIR)/pages/$(shell basename $(po_file) .po)))
$(foreach md_file,\
$(MD_FILES),\
$(foreach po_file,\
$(PO_FILES),\
$(shell po4a-translate -k 0 -f text -o markdown -M utf-8 -L utf-8 \
-m $(md_file) -p $(po_file) \
> $(INPUTDIR)/pages/$(shell basename $(po_file) .po)/$(shell basename $(md_file)))))
but that's not good enough. It won't figure out the pelican-
specific meta-data
- Once done, we need to update the 'translate' and 'update-pot'
targets in the Makefile |
|
2015-02-10 17:23:50 |
Daniel Holbach |
branch unlinked |
lp:~dholbach/ubuntu-devices-help/pelican |
|
|
2015-02-10 17:26:46 |
Daniel Holbach |
description |
Make translations possible. Ok, so this needs a bit more explanation.
So far we have:
- generate-pot which generates a .pot file, leaving out the
pelican-specific meta data (Title, Save_as, etc.)
What we need is:
- generate-pot to leave in "Title:" as we want that translated.
- a new command to generate translated content. What we
currently have in Makefile is this:
translate:
$(foreach po_file,$(PO_FILES),$(shell mkdir $(INPUTDIR)/pages/$(shell basename $(po_file) .po)))
$(foreach md_file,\
$(MD_FILES),\
$(foreach po_file,\
$(PO_FILES),\
$(shell po4a-translate -k 0 -f text -o markdown -M utf-8 -L utf-8 \
-m $(md_file) -p $(po_file) \
> $(INPUTDIR)/pages/$(shell basename $(po_file) .po)/$(shell basename $(md_file)))))
but that's not good enough. It won't figure out the pelican-
specific meta-data
- Once done, we need to update the 'translate' and 'update-pot'
targets in the Makefile |
Make translations possible. Ok, so this needs a bit more explanation.
So far we have:
- generate-pot which generates a .pot file, leaving out the
pelican-specific meta data (Title, Save_as, etc.)
What we need is:
1) generate-pot to leave in "Title:" as we want that translated.
2) a new command to generate translated content. What we
currently have in Makefile is this:
translate:
$(foreach po_file,$(PO_FILES),$(shell mkdir $(INPUTDIR)/pages/$(shell basename $(po_file) .po)))
$(foreach md_file,\
$(MD_FILES),\
$(foreach po_file,\
$(PO_FILES),\
$(shell po4a-translate -k 0 -f text -o markdown -M utf-8 -L utf-8 \
-m $(md_file) -p $(po_file) \
> $(INPUTDIR)/pages/$(shell basename $(po_file) .po)/$(shell basename $(md_file)))))
but that's not good enough. It won't figure out the pelican-
specific meta-data
3) Once done, we need to update the 'translate' and 'update-pot'
targets in the Makefile
4) Update HACKING. |
|
2015-02-10 17:26:49 |
Daniel Holbach |
ubuntu-devices-help: assignee |
Daniel Holbach (dholbach) |
|
|
2015-02-20 10:56:21 |
Daniel Holbach |
branch linked |
|
lp:~dholbach/ubuntu-devices-help/translations-fixes |
|
2015-02-20 10:56:27 |
Daniel Holbach |
ubuntu-devices-help: assignee |
|
Daniel Holbach (dholbach) |
|
2015-02-20 11:34:42 |
Daniel Holbach |
ubuntu-devices-help: status |
In Progress |
Fix Released |
|