The more standard jQuery method for handling element creation you can see peppered around, and is a little handier and chainable (if ever so slightly slower):
```javascript
// I like to give jQuery object variables the dollar sign prefix to
/// make it clear you don't need to use $ with them
var $newOption = $('<option>').value(i).text(robopaint.t('data.settings.lang.name')).attr('title', 'Option title!');
$newOption.appendTo('#lang'); // You can also append it to DOM via selectors directly.

// Or if you're not going to do much other than create it, skip the variable entirely
$('#lang').append(
  $('<option>')
    .value(i)
    .text(robopaint.t('data.settings.lang.name'))
    .attr('title', 'Option title!')
);
```