<commit_before><% content_for :body do %>
  $!You must register the birth in the country where the child was born. You'll be given a local birth certificate.$!

  <% if registration_country == 'indonesia' and british_national_parent == 'father' and paternity_declaration %>
    %You’ll need to get a court order to have the father named on the birth certificate before registering if you’re unmarried and only the father has British nationality.%
  <% end %>

  <% if reg_data_query.class::HIGHER_RISK_COUNTRIES.include?(registration_country) %>
    <% if registration_country == 'libya' %>
      You can also register the birth with the UK authorities.

      ^It’s usually quicker to register the birth with the UK authorities if you [get a British passport](/overseas-passports) for the child first. You can’t apply for a passport in Libya but you can apply in a neighbouring country.^

      To register the birth with the UK authorities you must:
    <% else %>
      You can also register the birth with the UK authorities.

      ^It’s usually quicker to register the birth with the UK authorities if you [get a British passport](/overseas-passports) for the child first.^

      To register the birth with the UK authorities you must:
    <% end %>
  <% else %>
    You can also register the birth with the UK authorities. You must:
  <% end %>

  s1. Check that you have the right documents.
  s2. Print out and fill in the birth registration form.
  s3. Pay.
  s4. Post your documents and the form.


  ##1. Check your documents

  ^Send English translations of all foreign documents. <%= translator_link_url ? "Use an [approved translator](#{translator_link_url}) and include their name and address with your application" : 'Use a professional translator and include their name and address with your application' %>. Don't send laminated documents.^

  <% if country_of_birth == 'morocco' && paternity_declaration %>
    ^Only the mother will be named on the local birth certificate if you aren’t married. To add the father’s name you must swear a paternity declaration in a Moroccan court and you may be ordered to get married.^
  <% end %>

  You must send the original versions of:

  <% if reg_data_query.class::ORU_DOCUMENTS_VARIANT_COUNTRIES_BIRTH.include?(country_of_birth) %>
    <% if country_of_birth == 'united-arab-emirates' && paternity_declaration %>
      - both English and Arabic versions of your child’s full local birth certificate, attested by the Ministry of Foreign Affairs (email <<EMAIL>> if the local authorities will not provide a birth certificate)
    <% else %>
      <% case country_of_birth %>
      <% when 'oru_documents_variant_andorra' %>
        - the child’s full local birth certificate (‘declaració de naixement’) - it must have both parents’ names
      <% when 'belgium' %>
        - the child’s full local birth certificate (‘copie d’acte’ or ‘afschrift van een akte’) - it must have both parents’ names
      <% when 'denmark' %>
        - the child's full local birth certificate ('fødsel og navneattest') - it must have both parents' names
        - confirmation from the hospital or clinic where the child was born - eg a letter or live birth notification
      <% when 'finland' %>
        - a birth certificate issued by the hospital
        - an extract in English from the Population Information System which has the name of the child and the parents, issued within the last three months - you can get this from the [register office](http://www.maistraatti.fi/en/About-Local-Register-Offices/)
      <% when 'france' %>
        - the child’s full local birth certificate (‘copie integrale acte de naissance’) - it must have both parents’ names
      <% when 'india' %>
        - the child’s full local birth certificate - it must have both parents’ names
        - the mother's antenatal records (eg blood test results, ultrasound scans and doctors' notes)
        - the hospital live birth certificate
        - the hospital discharge summary (a letter from the hospital saying what treatment you had)
      <% when 'israel' %>
        - the child's full local birth certificate
        - the hospital live birth certificate (if the father isn't named on the local birth certificate)
      <% when 'italy' %>
        - the child’s long international birth certificate (not the standard short version) - it must have both parents’ names
      <% when 'japan' %>
        - the child’s local birth certificate ('shussetodoke kisaijiko shomeisho') - it must have the name and address of the hospital
        - a copy of the family register ('koseki tohon') which has been certified by the ward office (if one of the parents is Japanese)
        - a [name confirmation form](/government/publications/birth-registration-name-confirmation-form) that says how you would like the child’s full name to be registered, if the name differs from the name on the local birth certificate or Japanese family register (the rules are on the form)
      <% when 'monaco' %>
        - the child’s full local birth certificate (‘copie integrale acte de naissance’) - it must have both parents’ names
      <% when 'morocco' %>
        - the child’s full local birth certificate - it must have both parents’ names
        - a [name confirmation form](https://www.gov.uk/government/publications/birth-registration-name-confirmation-form) that says how you would like the child's full name to be registered, if the name differs from the name on the local birth certificate
      <% when 'nepal' %>
        - the child’s full local birth certificate (if one parent is Nepali) - it must have both parents’ names
        - the hospital live birth certificate
      <% when 'netherlands' %>
        - the Dutch version of the child’s full birth certificate (‘akte van geboorte’) and a translation of the certificate into English
      <% when 'nigeria' %>
        - the child’s full local birth certificate - it must have both parents’ names
        - the mother's antenatal records (eg blood test results, ultrasound scans and doctors' notes)
        - the hospital live birth certificate
      <% when 'poland' %>
        - the child’s full local birth certificate (‘zupelny’) - it must have both parents’ names
      <% when 'portugal' %>
        - the child’s full local birth certificate (‘assento de nascimento’) - it must have both parents’ names
        - the hospital declaration of live birth (if the hospital’s name is not on your child’s birth certificate)
      <% when 'russia' %>
        - the child’s full local birth certificate - it must have both parents’ names
      <% when 'sierra-leone' %>
        - the child’s full local birth certificate - it must have both parents’ names
        - the hospital live birth certificate
      <% when 'south-korea' %>
        - the child's birth certificate ('gi bon jung myung seo') and family relations certificate ('ga-jok-gwan-gye-jeung-myeong-seo') (if one or both parents are Korean nationals)
        - the child's hospital birth certificate with both parents' names (if neither parent is a Korean national)
        - a [name confirmation form](/government/publications/birth-registration-name-confirmation-form) that says how you would like the child’s full name to be registered, if the name differs from the name on the family relations certificate (the rules are on the form)
      <% when 'spain' %>
        - the child’s full local birth certificate (‘certificación literal’) - it must have both parents’ names
      <% when 'sri-lanka' %>
        - the child’s full local birth certificate - it must have both parents’ names
        - hospital live birth certificate
      <% when 'sweden' %>
        - a family certificate (‘familjebevis’) from the the Swedish Tax Agency (Skatteverket)
      <% when 'united-arab-emirates' %>
        - both English and Arabic versions of your child’s full local birth certificate, attested by the Ministry of Foreign Affairs
      <% when 'taiwan' %>
        - both Chinese and English versions of the child’s birth certificate - you can send a translation if the hospital doesn't issue an English version
      <% when 'the-occupied-palestinian-territories' %>
        - the child's full local birth certificate
        - the hospital declaration of live birth (if the father isn't named on the birth certificate)
      <% when 'turkey' %>
        - the child’s full local birth certificate - it must have both parents’ names
        - the hospital live birth report<commit_msg>Update outcome for register a birth abroad in Turkey<commit_after><% content_for :body do %>
  $!You must register the birth in the country where the child was born. You'll be given a local birth certificate.$!

  <% if registration_country == 'indonesia' and british_national_parent == 'father' and paternity_declaration %>
    %You’ll need to get a court order to have the father named on the birth certificate before registering if you’re unmarried and only the father has British nationality.%
  <% end %>

  <% if reg_data_query.class::HIGHER_RISK_COUNTRIES.include?(registration_country) %>
    <% if registration_country == 'libya' %>
      You can also register the birth with the UK authorities.

      ^It’s usually quicker to register the birth with the UK authorities if you [get a British passport](/overseas-passports) for the child first. You can’t apply for a passport in Libya but you can apply in a neighbouring country.^

      To register the birth with the UK authorities you must:
    <% else %>
      You can also register the birth with the UK authorities.

      ^It’s usually quicker to register the birth with the UK authorities if you [get a British passport](/overseas-passports) for the child first.^

      To register the birth with the UK authorities you must:
    <% end %>
  <% else %>
    You can also register the birth with the UK authorities. You must:
  <% end %>

  s1. Check that you have the right documents.
  s2. Print out and fill in the birth registration form.
  s3. Pay.
  s4. Post your documents and the form.


  ##1. Check your documents

  ^Send English translations of all foreign documents. <%= translator_link_url ? "Use an [approved translator](#{translator_link_url}) and include their name and address with your application" : 'Use a professional translator and include their name and address with your application' %>. Don't send laminated documents.^

  <% if country_of_birth == 'morocco' && paternity_declaration %>
    ^Only the mother will be named on the local birth certificate if you aren’t married. To add the father’s name you must swear a paternity declaration in a Moroccan court and you may be ordered to get married.^
  <% end %>

  You must send the original versions of:

  <% if reg_data_query.class::ORU_DOCUMENTS_VARIANT_COUNTRIES_BIRTH.include?(country_of_birth) %>
    <% if country_of_birth == 'united-arab-emirates' && paternity_declaration %>
      - both English and Arabic versions of your child’s full local birth certificate, attested by the Ministry of Foreign Affairs (email <<EMAIL>> if the local authorities will not provide a birth certificate)
    <% else %>
      <% case country_of_birth %>
      <% when 'oru_documents_variant_andorra' %>
        - the child’s full local birth certificate (‘declaració de naixement’) - it must have both parents’ names
      <% when 'belgium' %>
        - the child’s full local birth certificate (‘copie d’acte’ or ‘afschrift van een akte’) - it must have both parents’ names
      <% when 'denmark' %>
        - the child's full local birth certificate ('fødsel og navneattest') - it must have both parents' names
        - confirmation from the hospital or clinic where the child was born - eg a letter or live birth notification
      <% when 'finland' %>
        - a birth certificate issued by the hospital
        - an extract in English from the Population Information System which has the name of the child and the parents, issued within the last three months - you can get this from the [register office](http://www.maistraatti.fi/en/About-Local-Register-Offices/)
      <% when 'france' %>
        - the child’s full local birth certificate (‘copie integrale acte de naissance’) - it must have both parents’ names
      <% when 'india' %>
        - the child’s full local birth certificate - it must have both parents’ names
        - the mother's antenatal records (eg blood test results, ultrasound scans and doctors' notes)
        - the hospital live birth certificate
        - the hospital discharge summary (a letter from the hospital saying what treatment you had)
      <% when 'israel' %>
        - the child's full local birth certificate
        - the hospital live birth certificate (if the father isn't named on the local birth certificate)
      <% when 'italy' %>
        - the child’s long international birth certificate (not the standard short version) - it must have both parents’ names
      <% when 'japan' %>
        - the child’s local birth certificate ('shussetodoke kisaijiko shomeisho') - it must have the name and address of the hospital
        - a copy of the family register ('koseki tohon') which has been certified by the ward office (if one of the parents is Japanese)
        - a [name confirmation form](/government/publications/birth-registration-name-confirmation-form) that says how you would like the child’s full name to be registered, if the name differs from the name on the local birth certificate or Japanese family register (the rules are on the form)
      <% when 'monaco' %>
        - the child’s full local birth certificate (‘copie integrale acte de naissance’) - it must have both parents’ names
      <% when 'morocco' %>
        - the child’s full local birth certificate - it must have both parents’ names
        - a [name confirmation form](https://www.gov.uk/government/publications/birth-registration-name-confirmation-form) that says how you would like the child's full name to be registered, if the name differs from the name on the local birth certificate
      <% when 'nepal' %>
        - the child’s full local birth certificate (if one parent is Nepali) - it must have both parents’ names
        - the hospital live birth certificate
      <% when 'netherlands' %>
        - the Dutch version of the child’s full birth certificate (‘akte van geboorte’) and a translation of the certificate into English
      <% when 'nigeria' %>
        - the child’s full local birth certificate - it must have both parents’ names
        - the mother's antenatal records (eg blood test results, ultrasound scans and doctors' notes)
        - the hospital live birth certificate
      <% when 'poland' %>
        - the child’s full local birth certificate (‘zupelny’) - it must have both parents’ names
      <% when 'portugal' %>
        - the child’s full local birth certificate (‘assento de nascimento’) - it must have both parents’ names
        - the hospital declaration of live birth (if the hospital’s name is not on your child’s birth certificate)
      <% when 'russia' %>
        - the child’s full local birth certificate - it must have both parents’ names
      <% when 'sierra-leone' %>
        - the child’s full local birth certificate - it must have both parents’ names
        - the hospital live birth certificate
      <% when 'south-korea' %>
        - the child's birth certificate ('gi bon jung myung seo') and family relations certificate ('ga-jok-gwan-gye-jeung-myeong-seo') (if one or both parents are Korean nationals)
        - the child's hospital birth certificate with both parents' names (if neither parent is a Korean national)
        - a [name confirmation form](/government/publications/birth-registration-name-confirmation-form) that says how you would like the child’s full name to be registered, if the name differs from the name on the family relations certificate (the rules are on the form)
      <% when 'spain' %>
        - the child’s full local birth certificate (‘certificación literal’) - it must have both parents’ names
      <% when 'sri-lanka' %>
        - the child’s full local birth certificate - it must have both parents’ names
        - hospital live birth certificate
      <% when 'sweden' %>
        - a family certificate (‘familjebevis’) from the the Swedish Tax Agency (Skatteverket)
      <% when 'united-arab-emirates' %>
        - both English and Arabic versions of your child’s full local birth certificate, attested by the Ministry of Foreign Affairs
      <% when 'taiwan' %>
        - both Chinese and English versions of the child’s birth certificate - you can send a translation if the hospital doesn't issue an English version
      <% when 'the-occupied-palestinian-territories' %>
        - the child's full local birth certificate
        - the hospital declaration of live birth (if the father isn't named on the birth certificate)
      <% when 'turkey' %>
        - the child’s full local birth certificate - called the ‘Formül A’
        - the hospital live birth report
{'fraction_non_alphanumeric': 0.07423248183735645, 'fraction_numerical': 0.0005858917272088118, 'mean_word_length': 3.211448309893906, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2406297', 'n_tokens_mistral': 4593, 'n_tokens_neox': 4278, 'n_words': 2155}