Issue Details (XML | Word | Printable)

Key: MDL-12181
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Minor Minor
Assignee: David Mudrak
Reporter: Shane Elliott
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Custom block language files not in the admin editing language list

Created: 15/Nov/07 10:53 AM   Updated: 15/Nov/07 03:46 PM
Return to search
Component/s: Languages
Affects Version/s: 1.8, 1.9
Fix Version/s: 1.9

File Attachments: None
Image Attachments:

1. screenshot.png
(62 kB)
Issue Links:
Duplicate
 

Participants: David Mudrak and Shane Elliott
Security Level: None
Affected Branches: MOODLE_18_STABLE, MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Custom blocks can store their language files in their own directory eg blocks/my_block/lang/en_utf8/block_my_block.php
When using the admin interface to edit language strings, these files do not appear in the list to be edited ie only the files under lang/en_utf8 appear.


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
David Mudrak added a comment - 15/Nov/07 03:41 PM
This has been already fixed and should work in 1.9 - see MDL-9361. Please note, custom (3rd party's) plugins are listed separately at the very bottom of the selection box.
I have tried to reproduce:

$ mkdir -p blocks/my_block/lang/en_utf8
$ touch blocks/my_block/lang/en_utf8/block_my_block.php

and the file appeared in the selection (see screenshot).


David Mudrak added a comment - 15/Nov/07 03:46 PM
closing as duplicate